diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-05 07:25:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-05 07:25:35 +0000 |
commit | 84daaed84496f64701ccf1649e8a28a24716129f (patch) | |
tree | 46481c1b356e389cf483d2ca31f80a282ec00585 /lib | |
parent | 1a89cc308d823033715131c2709a009ee971eb28 (diff) | |
download | bundler-84daaed84496f64701ccf1649e8a28a24716129f.tar.gz |
* lib/date/format.rb (Format::Bag#method_missing): get rid of
modifying orginal argument. [ruby-core:11090]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/date/format.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/date/format.rb b/lib/date/format.rb index e0edb45720..723aa6713a 100644 --- a/lib/date/format.rb +++ b/lib/date/format.rb @@ -118,7 +118,7 @@ class Date end def method_missing(t, *args, &block) - t = t.to_s + t = "#{t}" set = t.chomp!('=') t = t.intern if set |