Re: Super return changed in 1.8.6
- From: "Gregory Brown" <gregory.t.brown@xxxxxxxxx>
- Date: Wed, 4 Jul 2007 23:30:08 +0900
On 7/4/07, Han Holl <han.holl@xxxxxxxxx> wrote:
Indeed.
My question was whether this should be considered a bug: #today is
kind of a specialized version of #new, so I would expect the
implementation to be #new like, and return a MyDate.
That sounds to me like someone used Date.new instead of self.new in
class method somewhere. :)
And yeah, I'd look at it as a bug too. As a workaround, you can
probably do a manual conversion...
.
- Follow-Ups:
- Re: Super return changed in 1.8.6
- From: Gregor Schmidt
- Re: Super return changed in 1.8.6
- References:
- Re: Super return changed in 1.8.6
- From: Han Holl
- Re: Super return changed in 1.8.6
- Prev by Date: Re: Ruby script/server directory missing from Windows
- Next by Date: Re: block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?)
- Previous by thread: Re: Super return changed in 1.8.6
- Next by thread: Re: Super return changed in 1.8.6
- Index(es):
Relevant Pages
|