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