Bug #9890

Empty Date class

Added by Chris Bandy 12 months ago. Updated 7 months ago.

[ruby-core:62895]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Backport:2.0.0: UNKNOWN, 2.1: UNKNOWN

Description

Before anything is loaded/required, there is a non-functional Date class.

$ GEM_HOME= GEM_PATH= irb

irb(main):001:0> Date
=> Date
irb(main):002:0> Date.ancestors
=> [Date, Object, Kernel, BasicObject]
irb(main):003:0> Date.instance_methods(false)
=> []

History

#3 Updated by Eric Hodel 12 months ago

I have not been able to come up with a workaround that allows removal of Date or provides a working Date class.

#4 Updated by Benoit Daloze 7 months ago

  • Status changed from Third Party's Issue to Closed

Fixed upstream by my commit https://github.com/rubygems/rubygems/pull/948.
And now merged on trunk.

Also available in: Atom PDF