[ruby-core:62899] [ruby-trunk - Bug #9890] [Third Party's Issue] Empty Date class

From: nobu@...
Date: 2014-06-02 02:40:50 UTC
List: ruby-core #62899
Issue #9890 has been updated by Nobuyoshi Nakada.

Status changed from Open to Third Party's Issue

It seems intended.
https://github.com/rubygems/rubygems/commit/ec07d2bb5c51f3a3606e1febc93b7c73699de58e

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

* 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