Next | 2.0 [Syntax] Lexical structure | Prev |
a = 1 b = 1 + # continues the previous line a -= 2 c = ' some multiline string '; d = "another string" puts a, b, c, d, "-------" |
-1 0 some multiline string another string ------- |
=begin everything between the line beginning with `=begin' and the line with `=end' is skipped by the interpreter =end
Next | Ruby for Perl programmers | Prev |