This link has been bookmarked by 9 people . It was first bookmarked on 25 Sep 2007, by swan lin.
-
22 Oct 16
-
Anything following an unquoted #
-
Also, to facilitate large comment blocks, the ruby interpreter also ignores anything between a line starting with =begin and another line starting with =end.
-
You may be used to thinking that a false value may be represented as a zero, a null string, a null character, or various other things. But in Ruby, all of these *values* are true; in fact, everything is true except the reserved words false and nil.
-
-
27 Jun 12
-
17 Jun 12
-
10 Feb 09
-
28 Oct 07
-
25 Sep 07
-
Free format
-
Case sensitive
-
Comments - Anything following an unquoted #, to the end of the line on which it appears, is ignored by the interpreter. Also, to facilitate large comment blocks, the ruby interpreter also ignores anything between a line starting with =begin and another line starting with =end
-
Statement delimiters
-
But in Ruby, all of these are true; in fact, everything is true except the reserved words false and nil.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.