+ 6
What is the comments in ruby ?
comment
3 Answers
+ 12
# this is a comment
+ 12
Comments are statements which are ignored by a computer... Here you can write what does the function do for yourself in the future.
=begin
This is a comment
This function adds up two numbers
=end
code...
+ 8
# This works
=begin
me too
lol
=end
"""
suprise. thought i dont work?
python and ruby are brothers :D
"""