From: Gregory Brown Date: 2007-07-04T00:31:33+09:00 Subject: Re: Super return changed in 1.8.6 On 7/3/07, Han Holl wrote: > Hello, > > The following snippet: > > #!/usr/bin/ruby -w > require 'date' > class MyDate < Date > def self.today > super > end > end > puts MyDate.today.class > ## end > > prints out 'MyDate' with ruby 1.8.4 and 1.8.5, but 'Date' with 1.8.6 > > Is this a bug in 1.8.6, or the correction of a long lived bug in > versions before ? It looks like perhaps the date library has changed in 1.8.6 http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/NEWS " * date * Updated based on date2 4.0.3. " I've not investigated further.