class Ballista::Frequencies::Weekly
Weekly
actions
Public Instance Methods
get_dates(log, pointer)
click to toggle source
# File lib/ballista/frequencies/weekly.rb, line 11 def get_dates(log, pointer) return log if pointer > @stop return get_dates(log, pointer + step) if pointer < @start log << entry(pointer) get_dates(log, pointer + step) end
log()
click to toggle source
# File lib/ballista/frequencies/weekly.rb, line 6 def log pointer = Date.parse(@when) get_dates([], pointer) end
step()
click to toggle source
# File lib/ballista/frequencies/weekly.rb, line 18 def step 7 end