class Increments::Schedule::Date
Constants
- INFINITY_FUTURE
- INFINITY_PAST
Public Instance Methods
find_next() { |date| ... }
click to toggle source
# File lib/increments/schedule/date.rb, line 9 def find_next upto(INFINITY_FUTURE) do |date| break date if yield date end end
find_previous() { |date| ... }
click to toggle source
# File lib/increments/schedule/date.rb, line 15 def find_previous downto(INFINITY_PAST) do |date| break date if yield date end end