Class: DoubleEntry::Reporting::Configuration
- Inherits:
-
Object
- Object
- DoubleEntry::Reporting::Configuration
- Defined in:
- lib/double_entry/reporting.rb
Instance Attribute Summary collapse
-
#first_month_of_financial_year ⇒ Object
Returns the value of attribute first_month_of_financial_year.
-
#start_of_business ⇒ Object
Returns the value of attribute start_of_business.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
:nodoc:.
Constructor Details
#initialize ⇒ Configuration
: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_year ⇒ Object
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_business ⇒ Object
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 |