From: Tanaka Akira Date: 2013-08-11T02:56:23+09:00 Subject: [ruby-core:56517] Re: [ruby-cvs:49638] zzak:r42496 (trunk): * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377] 2013/8/11 : > zzak 2013-08-11 02:44:55 +0900 (Sun, 11 Aug 2013) > > New Revision: 42496 > > http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42496 > > Log: > * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377] > https://github.com/ruby/ruby/pull/377 The documented constants are internal and not intended to public. Also the example code, Time.MonthValue['JAN'], just doesn't work (as intended). % ./ruby -rtime -e "Time.MonthValue['JAN']" -e:1:in `
': undefined method `MonthValue' for Time:Class (NoMethodError) -- Tanaka Akira