Commenting code in Ruby
There's two ways to comment code in Ruby. Single lines that commence with a hash (#) are comments, or you can use block commenting:
=begin This is all commented out. It spans multiple lines, until we end it. =end
Every few months I need to comment a big block of code and I always forget how to do it :)
In Perl, you can use =for and =cut to do the same thing. I forget how to do it all the time as well.
This is my most favourite post from you this month.
Awesome Fitzy. I think so too.