Multi-line comments in ruby

Posted by Moser on 07 Apr 2009

I keep forgetting how to do them, so I post myself a little reminder here.

Just put

=begin
...
=end

around the stuff to be commented out. There must not be whitespaces before these keywords.