Quantcast
Channel: Debug Area » ruby
Viewing all articles
Browse latest Browse all 8

Ruby Tip: multiline comments

$
0
0

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.


Viewing all articles
Browse latest Browse all 8

Trending Articles