Class ReportsHelper::ReportMonth
In: app/helpers/reports_helper.rb
Parent: Object

Helper class for ReportYear and reporthelp_month_selection.

Methods

new  

Attributes

end  [R] 
id  [R] 
start  [R] 

Public Class methods

[Source]

    # File app/helpers/reports_helper.rb, line 30
30:     def initialize( year, month )
31:       @id    = "#{ year }_#{ month }"
32:       @start = "#{ month } (start of #{ Date::MONTHNAMES[ month ] } #{ year })"
33:       @end   = "#{ month } (end of #{ Date::MONTHNAMES[ month ] } #{ year })"
34:     end

[Validate]