core/time.rbs in rbs-0.19.0 vs core/time.rbs in rbs-0.20.0

- old
+ new

@@ -755,21 +755,9 @@ # # The more accurate value is returned by #subsec. # def subsec: () -> Numeric - # Returns a new Time object, one second later than *time*. Time#succ is obsolete - # since 1.9.2 for time is not a discrete value. - # - # t = Time.now #=> 2007-11-19 08:23:57 -0600 - # t.succ #=> 2007-11-19 08:23:58 -0600 - # - # Use instead `time + 1` - # - # t + 1 #=> 2007-11-19 08:23:58 -0600 - # - def succ: () -> Time - # Returns `true` if *time* represents Sunday. # # t = Time.local(1990, 4, 1) #=> 1990-04-01 00:00:00 -0600 # t.sunday? #=> true #