ruby begin end comment code example
Example 1: how to comment in ruby
# How to comment a single line
=begin
How to comment
Multiple lines
=end
Example 2: ruby comment
#comment only one line
=begin
all comment here
=end
# How to comment a single line
=begin
How to comment
Multiple lines
=end
#comment only one line
=begin
all comment here
=end