module DateMisc::WdayPosition
Public Instance Methods
wday_position()
click to toggle source
# File lib/date_misc/wday_position.rb, line 3 def wday_position (self.day - 1) / 7 + 1 end
# File lib/date_misc/wday_position.rb, line 3 def wday_position (self.day - 1) / 7 + 1 end