From: Jp Hastings-spital Date: 2009-05-25T02:39:56+09:00 Subject: Re: Workarounds for replacing self Robert Klemme wrote: > class ETA < Time > # Takes a number of seconds until the event > def self.relative(seconds) > at Time.now.to_i + seconds > end ... > end Thanks for the tips! Out of interest, why did you change my self.new method to self.relative? Is that personal preference, or is there a reason you've kept Time's original .new and .now? -- Posted via http://www.ruby-forum.com/.