class Date

Public Instance Methods

prev_wday(wday) click to toggle source
# File lib/haora/day.rb, line 5
def prev_wday(wday)
  before = self.prev_day
  before.wday == wday ? before : before.prev_wday(wday)
end