Ruby - Basics and Runtime
Identify the error in this Ruby code snippet:
=begin This is a multi-line comment # Another comment line =end puts "Done"
=begin This is a multi-line comment # Another comment line =end puts "Done"
=begin and =end must be at the start of the line with no leading spaces.=begin or =end are indented or not at line start, Ruby raises a syntax error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions