mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/date/format.rb: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d2f46dfa8e
commit
634d1a1315
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue May 8 20:25:05 2007 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
|
* lib/date/format.rb: reverted.
|
||||||
|
|
||||||
Sat May 5 16:26:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat May 5 16:26:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/date/format.rb (Format::Bag#method_missing): get rid of
|
* lib/date/format.rb (Format::Bag#method_missing): get rid of
|
||||||
|
|
|
@ -118,7 +118,7 @@ class Date
|
||||||
end
|
end
|
||||||
|
|
||||||
def method_missing(t, *args, &block)
|
def method_missing(t, *args, &block)
|
||||||
t = "#{t}"
|
t = t.to_s
|
||||||
set = t.chomp!('=')
|
set = t.chomp!('=')
|
||||||
t = t.intern
|
t = t.intern
|
||||||
if set
|
if set
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue