From: Jp Hastings-spital Date: 2009-05-23T02:19:39+09:00 Subject: Workarounds for replacing self I'm attempting to build an ETA class, essentially identical to Time, but where new accepts a number of seconds from now and generates the underlying Time object accordingly. Obviously I can't re-assign self, so how should I do this? What I'd like to do: -- class ETA < Time def initialize(seconds) self = Time.new + seconds end end -- Any help would be much appreciated! -- Posted via http://www.ruby-forum.com/.