Tag: ruby comment

Multi-line comments in ruby

Posted by on April 7, 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.