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 ;-)

Leave a Reply

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