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 | 0be98bcf9b949d4e69f63f9c16fc11ad6daa92a6 (patch) | |
tree | 46481c1b356e389cf483d2ca31f80a282ec00585 /lib/date | |
parent | 8c4897207e590089db4b0ec08fabc6eb71c253e4 (diff) | |
download | ruby-0be98bcf9b949d4e69f63f9c16fc11ad6daa92a6.tar.gz ruby-0be98bcf9b949d4e69f63f9c16fc11ad6daa92a6.tar.xz ruby-0be98bcf9b949d4e69f63f9c16fc11ad6daa92a6.zip |
* lib/date/format.rb (Format::Bag#method_missing): get rid of
modifying orginal argument. [ruby-core:11090]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date')
-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 e0edb4572..723aa6713 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 |