Class: FiscalYear::Config

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfig



24
25
26
# File 'lib/fiscal_year/config.rb', line 24

def initialize
  @start_month = 4
end

Instance Attribute Details

#start_monthObject

Returns the value of attribute start_month.



7
8
9
# File 'lib/fiscal_year/config.rb', line 7

def start_month
  @start_month
end