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

From: bandy.chris@...
Date: 2014-05-31 13:53:41 UTC
List: ruby-core #62895
Issue #9890 has been reported by Chris Bandy.

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

* Author: Chris Bandy
* Status: Open
* 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