This block comment conceals several lines from the interpreter with =begin/=end: : Comments « Language Basics « Ruby






This block comment conceals several lines from the interpreter with =begin/=end:


=begin
This is a comment.
This is a comment, too.
This is a comment, too.
I said that already.
=end

 








Related examples in the same category

1.What are Comments
2.Create comments in Ruby, using the # symbol.
3.Some valid examples of commenting in Ruby:
4.Make sure trailing comments are far enough from the code