From 0dde751f6f4a2164321b9e8c457c7ef5049bdb9d Mon Sep 17 00:00:00 2001 From: tadf Date: Tue, 11 Nov 2008 11:42:46 +0000 Subject: * 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 --- lib/date.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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. # -- cgit