ruby-changes:19922
From: tadf <ko1@a...>
Date: Fri, 10 Jun 2011 00:02:19 +0900 (JST)
Subject: [ruby-changes:19922] tadf:r31969 (ruby_1_8): reedit previous commit
tadf 2011-06-10 00:02:10 +0900 (Fri, 10 Jun 2011) New Revision: 31969 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31969 Log: reedit previous commit Modified files: branches/ruby_1_8/lib/date.rb Index: ruby_1_8/lib/date.rb =================================================================== --- ruby_1_8/lib/date.rb (revision 31968) +++ ruby_1_8/lib/date.rb (revision 31969) @@ -1490,7 +1490,7 @@ raise ArgumentError, 'invalid date' end if String === of - of = Rational(self.class.zone_to_diff(of) || 0, 86400) + of = Rational(zone_to_diff(of) || 0, 86400) end new!(jd_to_ajd(jd, fr, of), of, sg) end @@ -1515,7 +1515,7 @@ raise ArgumentError, 'invalid date' end if String === of - of = Rational(self.class.zone_to_diff(of) || 0, 86400) + of = Rational(zone_to_diff(of) || 0, 86400) end new!(jd_to_ajd(jd, fr, of), of, sg) end @@ -1540,7 +1540,7 @@ raise ArgumentError, 'invalid date' end if String === of - of = Rational(self.class.zone_to_diff(of) || 0, 86400) + of = Rational(zone_to_diff(of) || 0, 86400) end new!(jd_to_ajd(jd, fr, of), of, sg) end @@ -1568,7 +1568,7 @@ raise ArgumentError, 'invalid date' end if String === of - of = Rational(self.class.zone_to_diff(of) || 0, 86400) + of = Rational(zone_to_diff(of) || 0, 86400) end new!(jd_to_ajd(jd, fr, of), of, sg) end @@ -1579,7 +1579,7 @@ raise ArgumentError, 'invalid date' end if String === of - of = Rational(self.class.zone_to_diff(of) || 0, 86400) + of = Rational(zone_to_diff(of) || 0, 86400) end new!(jd_to_ajd(jd, fr, of), of, sg) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/