From: Dave Thomas Date: 2000-03-17T12:17:20-06:00 Subject: [ruby-talk:01982] Re: Time::at "David Douthitt" writes: > or whatever the right syntax is :-) > > The ruby 1.4 manual says this: > > at(time) > Creates the time object at time. The argument time must be either the instance of the Time class or the number, which is considered as seconds since 00:00:00 GMT, January 1, 1970. > > However, this line: > > print ">>>>", at(57827), "\n"; > > Generates this error: > > ./ppp-time.rb:105: undefined method `at' for # (NameError) > from ./ppp-time.rb:102:in `each' > from ./ppp-time.rb:102 Try print ">>>>", Time.at(57827), "\n"; or print ">>>>", Time::at(57827), "\n";