summaryrefslogtreecommitdiff
path: root/lib/date.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 11:42:46 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 11:42:46 +0000
commitb0e3af492216f9517480208bffb99656cd122a89 (patch)
tree0cf716988d9fc17d60a0a924778f73b1fdf6890d /lib/date.rb
parente644398bc6a06490e504f6ce18963431f18641ad (diff)
downloadruby-b0e3af492216f9517480208bffb99656cd122a89.tar.gz
* lib/date.rb (inspect): reverted the previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date.rb')
-rw-r--r--lib/date.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/date.rb b/lib/date.rb
index 2c9792562b..3da3d21f8b 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.
#