Class: Ec::Jigs::Configuration
- Inherits:
-
Object
- Object
- Ec::Jigs::Configuration
- Defined in:
- lib/ec/jigs/configuration.rb
Instance Attribute Summary collapse
-
#config_folder ⇒ Object
Returns the value of attribute config_folder.
-
#environment ⇒ Object
Returns the value of attribute environment.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 |
# File 'lib/ec/jigs/configuration.rb', line 9 def initialize if defined?(Rails) @config_folder = Rails.root.join('config', 'agents') @environment = Rails.env end end |
Instance Attribute Details
#config_folder ⇒ Object
Returns the value of attribute config_folder.
6 7 8 |
# File 'lib/ec/jigs/configuration.rb', line 6 def config_folder @config_folder end |
#environment ⇒ Object
Returns the value of attribute environment.
7 8 9 |
# File 'lib/ec/jigs/configuration.rb', line 7 def environment @environment end |