20
Nov
09

ruby’s multiline comments



If you want to comment more than one line of Ruby code, you can place them inside a:

=begin

=end

block. The thing is, =begin and =end must be at the very beginning of the line.

Advertisements

0 Responses to “ruby’s multiline comments”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Blog Stats

  • 221,399 hits

%d bloggers like this: