Hello all. I’ve got a file inside my lib directory called
time_helper.rb. In
it I open the Time class and add a method to it. When I hop into the
console
and try to use my new command, I’m told the method doesn’t exist. Any
ideas?
- Rabbit
Hello all. I’ve got a file inside my lib directory called
time_helper.rb. In
it I open the Time class and add a method to it. When I hop into the
console
and try to use my new command, I’m told the method doesn’t exist. Any
ideas?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs