How will you comment in ruby.
Answer / 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 |
Tell me how symbol is different from variables?
what is the Notation used for denoting class variables in Ruby?
What are the data types in ruby?
Tell me the role of modules and mixins in ruby?
What is ruby object?
Do you know what is the defined operator?
What are the ruby variables?
Tell us what is class libraries in ruby?
Explain about normal method class?
what is the syntax for Ruby collect Iterator?
How an exception is handled in Ruby?
What is the use of interpolation in ruby?