Error message on Exercise 11 LRHW


#1

Can anyone tell me why I’m getting the error message for this piece of code on exercise 11 of Learn Ruby The Hard Way:

C:/Users/rdimb/temp/ex11.rb:3:in <main>': undefined methodchomp’ for nil:NilClass (NoMethodError)
How old are you?

I’m I blind to something??


#2

It seems that atom can’t execute user input?


#3

Please provide the source code.