+ 1
Why in ruby (#) use only for one comment line not for multiple line?
4 ответов
+ 5
It depends on who made ruby language
For multi line comments
https://stackoverflow.com/questions/2989762/multi-line-comments-in-ruby
https://www.digitalocean.com/community/tutorials/how-to-use-comments-in-ruby
+ 4
You can use in this way
# hi
# this is comments
# !!
+ 1
Can't we use # for multiline comments?