+ 2
In Ruby , do multi line comments require the begin and end keywords after the # character?
Ruby code multi line comment question
3 Respostas
+ 5
It is
=begin
some comment
=end
or
# this iscomment also.
# and this too.
+ 1
Trying this in Code playground, the begin and end are needed.
If they're not present, a syntax error is generated.
https://code.sololearn.com/cV2WJ0dWK3xc/?ref=app