10. a few requirements doesn't work


please, help me to figure this out:

require 'date'

puts Date.today

Replace this line with your code.

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



How do you think that relates to your code?


what a tricky question))))


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?


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