diff options
Diffstat (limited to 'lib/date.rb')
-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 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. # |