[ruby-core:62909] [ruby-trunk - Bug #9890] Empty Date class

From: drbrain@...7.net
Date: 2014-06-02 16:08:10 UTC
List: ruby-core #62909
Issue #9890 has been updated by Eric Hodel.


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

----------------------------------------
Bug #9890: Empty Date class
https://bugs.ruby-lang.org/issues/9890#change-47015

* Author: Chris Bandy
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
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)
=> []
~~~



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next