What is the comments in ruby ? | Sololearn: Learn to code for FREE!
+ 6

What is the comments in ruby ?

comment

10th May 2017, 7:48 PM
Salah Ayoob
Salah Ayoob - avatar
3 odpowiedzi
+ 12
# this is a comment
10th May 2017, 8:04 PM
Tashi N
Tashi N - avatar
+ 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...
10th May 2017, 9:03 PM
Gami
Gami - avatar
+ 8
# This works =begin me too lol =end """ suprise. thought i dont work? python and ruby are brothers :D """
10th May 2017, 9:10 PM
Complex
Complex - avatar