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 | |
| 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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/date/format.rb | 2 | ||||
| -rw-r--r-- | version.h | 6 |
3 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Sat May 5 16:26:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/date/format.rb (Format::Bag#method_missing): get rid of + modifying orginal argument. [ruby-core:11090] + Thu May 3 22:20:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided, 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 @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-05-03" +#define RUBY_RELEASE_DATE "2007-05-05" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070503 +#define RUBY_RELEASE_CODE 20070505 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 3 +#define RUBY_RELEASE_DAY 5 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |
