A
Abder-Rahman Ali
I'm trying to write a script such that when you enter a year, you get
back a result of what occurred in this year or in the range of years, as
follows: http://pastie.org/private/0nibq5i7abwghydfu0yzg
The case is when I enter a year, I get the following:
sub.rb:3: undefined method `what_were_you_doing_on' for main:Object
(NoMethodError)
But, the method is there. Why am I getting this?
Thanks.
back a result of what occurred in this year or in the range of years, as
follows: http://pastie.org/private/0nibq5i7abwghydfu0yzg
The case is when I enter a year, I get the following:
sub.rb:3: undefined method `what_were_you_doing_on' for main:Object
(NoMethodError)
But, the method is there. Why am I getting this?
Thanks.