Class: FiscalYear::Config
- Inherits:
-
Object
- Object
- FiscalYear::Config
- Defined in:
- lib/fiscal_year/config.rb
Constant Summary collapse
- VALID_START_MONTHS =
{ jan: 1, feb: 2, mar: 3, apr: 4, may: 5, jun: 6, jul: 7, aug: 8, sep: 9, oct: 10, nov: 11, dec: 12 }.freeze
Instance Attribute Summary collapse
-
#start_month ⇒ Object
Returns the value of attribute start_month.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
24 25 26 |
# File 'lib/fiscal_year/config.rb', line 24 def initialize @start_month = 4 end |
Instance Attribute Details
#start_month ⇒ Object
Returns the value of attribute start_month.
7 8 9 |
# File 'lib/fiscal_year/config.rb', line 7 def start_month @start_month end |