Created
November 15, 2010 10:42
-
-
Save madhums/700246 to your computer and use it in GitHub Desktop.
block comments in ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
notice there is no space at the beginning of =begin | |
code or | |
#comment | |
. | |
. | |
. | |
=end | |
=begin | |
this will throw an error. there shouldn't be any space in the beginning of block comment. | |
=end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment