Class: PeakFlowUtils::ConfigurationService
- Inherits:
-
Object
- Object
- PeakFlowUtils::ConfigurationService
- Defined in:
- app/services/peak_flow_utils/configuration_service.rb
Instance Attribute Summary collapse
-
#paths_to_translate ⇒ Object
Returns the value of attribute paths_to_translate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ConfigurationService
constructor
A new instance of ConfigurationService.
Constructor Details
#initialize ⇒ ConfigurationService
Returns a new instance of ConfigurationService.
8 9 10 |
# File 'app/services/peak_flow_utils/configuration_service.rb', line 8 def initialize @paths_to_translate = [Rails.root.to_s] end |
Instance Attribute Details
#paths_to_translate ⇒ Object
Returns the value of attribute paths_to_translate.
2 3 4 |
# File 'app/services/peak_flow_utils/configuration_service.rb', line 2 def paths_to_translate @paths_to_translate end |
Class Method Details
.current ⇒ Object
4 5 6 |
# File 'app/services/peak_flow_utils/configuration_service.rb', line 4 def self.current @current ||= PeakFlowUtils::ConfigurationService.new end |