General

Profile

lmc (Luke Mcildoon)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

06/27/2012

05:25 PM Ruby Bug #6547: DateTime.new does not call #initialize
I disagree, I believe this is a bug since it results in extremely surprising behaviour, and no other stdlib classes do this (even String.new calls initialize).
I've fixed this myself by adding calls to rb_obj_call_init in date_core.c, a...
lmc (Luke Mcildoon)

06/05/2012

11:46 AM Ruby Bug #6547 (Rejected): DateTime.new does not call #initialize
Classes that extend DateTime don't appear to have their "initialize" instance method called from "new".
To reproduce:
irb(main):001:0> [RUBY_VERSION,RUBY_PLATFORM]
=> ["1.9.3", "i686-linux"]
irb(main):002:0> require "date"
=> true...
lmc (Luke Mcildoon)

Also available in: Atom