(ruby):1: embedded document meets end of file


#1

I keep getting this error on codecademy's editor (ruby):1: embedded document meets end of file

=begin and =end
# comment

On trying to comment and requested, what am i doing wrong, :frowning:


#2

It's not the right way to make a multiline comments in ruby.
if you've single line comment then you can use #.
The =begin and =end must be at the beginning of the line.you can't have a whitespace before =begin and =end.

=begin 
 and
=end

#3

I keep getting this error on codecademy's editor (ruby):1: embedded
document meets end of file

`
=begin and =end

comment

You are missing a "=end" line. Note that the "=end" must be at the start
of the line.

Ronald


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.