when to use multiline comment when to us esingle line ruby code example
Example 1: comment in ruby
# Single line comment
=begin
multiline
comment
=end
Example 2: ruby comment
#comment only one line
=begin
all comment here
=end
# Single line comment
=begin
multiline
comment
=end
#comment only one line
=begin
all comment here
=end