diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 11:42:46 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 11:42:46 +0000 |
| commit | 0dde751f6f4a2164321b9e8c457c7ef5049bdb9d (patch) | |
| tree | 0cf716988d9fc17d60a0a924778f73b1fdf6890d /lib | |
| parent | bda126ecc572664426f0506976b920c5668d27d3 (diff) | |
| download | ruby-0dde751f6f4a2164321b9e8c457c7ef5049bdb9d.tar.gz ruby-0dde751f6f4a2164321b9e8c457c7ef5049bdb9d.tar.xz ruby-0dde751f6f4a2164321b9e8c457c7ef5049bdb9d.zip | |
* lib/date.rb (inspect): reverted the previous change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/date.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/date.rb b/lib/date.rb index 2c9792562..3da3d21f8 100644 --- a/lib/date.rb +++ b/lib/date.rb @@ -1470,9 +1470,7 @@ class Date def hash() @ajd.hash end # Return internal object state as a programmer-readable string. - def inspect - format('#<%s: %s (%s,%s,%s)>', self.class, to_s, @ajd, @of, @sg) - end + def inspect() format('#<%s: %s,%s,%s>', self.class, @ajd, @of, @sg) end # Return the date as a human-readable string. # |
