Class: DoubleEntry::Reporting::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/double_entry/reporting.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

:nodoc:



24
25
26
27
# File 'lib/double_entry/reporting.rb', line 24

def initialize #:nodoc:
  @start_of_business = Time.new(1970, 1, 1)
  @first_month_of_financial_year = 7
end

Instance Attribute Details

#first_month_of_financial_yearObject

Returns the value of attribute first_month_of_financial_year.



22
23
24
# File 'lib/double_entry/reporting.rb', line 22

def first_month_of_financial_year
  @first_month_of_financial_year
end

#start_of_businessObject

Returns the value of attribute start_of_business.



22
23
24
# File 'lib/double_entry/reporting.rb', line 22

def start_of_business
  @start_of_business
end