module MemoizeUntil::TimePatch

Public Instance Methods

week() click to toggle source

returns number representing the nth week of the month

# File lib/memoize_until/time_patch.rb, line 4
def week
    self.day / 7
end