ruby comment block code example
Example 1: comment in ruby
# Single line comment
=begin
multiline
comment
=end
Example 2: ruby comments
# This is a comment
=begin
This is a multiline comment
No-one uses them
You shouldn't either
=end
Example 3: ruby comment
#comment only one line
=begin
all comment here
=end