Hello all. Sorry for bothering you. I am trying to learn Ruby. i just wrote these codes and i am pretty sure i did all right but i still got this error. I just want to know what is my mistake.
( I passed lesson someway prob logic is ok )
How old are you?undefined local variable or method `get' for # < Context:0xf219e4>
print "How old are you?" user_num = Integer(get.chomp) if user_num < 15 puts "You are still a child" else user_num > 15 puts "You are a man!" end