From: Paul Carvalho Date: 2009-03-14T06:47:52+09:00 Subject: Re: When was the parse method added to the Time class? Joel wrote: > It's not a ruby version issue. > > Confusingly, Time.parse is only available after explicitly requiring 'time': > > irb(main):001:0> Time.parse "1:23" > NoMethodError: undefined method `parse' for Time:Class >          from (irb):1 > irb(main):002:0> require 'time' > => true > irb(main):003:0> Time.parse "1:23" > => Fri Mar 13 01:23:00 -0700 2009 > Hmm, okay. I get that. So why does the "Time.methods.include? 'parse'" line work on all the other systems except for one? I'm not specifically requiring that class on the other machines. As a test, I uninstalled Ruby 184 and installed Ruby 186 and I get the same effect on this computer -- i.e. the Time.parse method is still not there by default. Weird. Could another Ruby gem be causing the problem? Paul.