Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/date_ext.rb

Instance Method Summary collapse

Instance Method Details

#next_working_dayObject



7
8
9
# File 'lib/date_ext.rb', line 7

def next_working_day
  determine_working_day :next_working_day, (self + 1)
end

#prev_working_dayObject



3
4
5
# File 'lib/date_ext.rb', line 3

def prev_working_day
  determine_working_day :prev_working_day, (self - 1)
end