Answer Posted / Hitendra Kumar Singh
"To comment in Ruby, you can use the # symbol for single-line comments and =begin and =end for multi-line comments. For example:
# This is a single-line comment
=begin
This is a
multi-line
comment
=end
""
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers