class Reparty::Config
Attributes
reports[R]
weekly_reports[R]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/reparty/config.rb, line 7 def initialize @reports = [] @weekly_reports = [] super end
Public Instance Methods
add_report(report, *args, &block)
click to toggle source
# File lib/reparty/config.rb, line 13 def add_report(report, *args, &block) @reports << report.new(1, *args, &block) end
add_weekly_report(report, *args, &block)
click to toggle source
# File lib/reparty/config.rb, line 17 def add_weekly_report(report, *args, &block) @weekly_reports << report.new(7, *args, &block) end