Multiline comments in Ruby

Do you want comment more than one row ? So use multiline comment like this :

=begin

your code

=end

Important rule, this code must be at the begining of row.

PS: This code isn’t  exactly for comments, but you can us it this way ;-)

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>