Class: DoubleEntry::Reporting::Configuration Private
- Inherits:
-
Object
- Object
- DoubleEntry::Reporting::Configuration
- Defined in:
- lib/double_entry/reporting.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #first_month_of_financial_year ⇒ Object private
- #start_of_business ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
private
:nodoc:.
Constructor Details
#initialize ⇒ Configuration
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
:nodoc:
23 24 25 26 |
# File 'lib/double_entry/reporting.rb', line 23 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
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/double_entry/reporting.rb', line 21 def first_month_of_financial_year @first_month_of_financial_year end |
#start_of_business ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/double_entry/reporting.rb', line 21 def start_of_business @start_of_business end |