10. a few requirements doesn't work


#1

please, help me to figure this out:

require 'date'

puts Date.today
end

Replace this line with your code.

and the console says:(ruby):3: syntax error, unexpected keyword_end, expecting $end

`


#2

How do you think that relates to your code?


#3

what a tricky question))))


#4

What is a keyword? What would keyword_end be? Have you got that in your code? Why would it be unexpected what you have in your code? When is it normally expected, when is it used?


#5

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