Module: TimeCrisis::NthWeekday::InstanceMethods

Defined in:
lib/time_crisis/nth_weekday.rb

Instance Method Summary collapse

Instance Method Details

#nth_weekday(h = {}) ⇒ Object



50
51
52
53
54
55
# File 'lib/time_crisis/nth_weekday.rb', line 50

def nth_weekday(h={})
  h[:year] ||= self.year
  h[:month] ||= self.month
  h[:weekday] ||= self.wday
  self.class.nth_weekday(h)
end