Class: ConfigReader::Configuration
- Inherits:
-
Object
- Object
- ConfigReader::Configuration
- Defined in:
- lib/config_reader.rb
Instance Attribute Summary collapse
-
#config_file ⇒ Object
Returns the value of attribute config_file.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#ignore_missing_keys ⇒ Object
Returns the value of attribute ignore_missing_keys.
-
#permitted_classes ⇒ Object
Returns the value of attribute permitted_classes.
-
#sekrets_file ⇒ Object
Returns the value of attribute sekrets_file.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
159 160 161 162 163 164 165 |
# File 'lib/config_reader.rb', line 159 def initialize @config_file = nil @environment = nil @ignore_missing_keys = false @permitted_classes = [] @sekrets_file = nil end |
Instance Attribute Details
#config_file ⇒ Object
Returns the value of attribute config_file.
153 154 155 |
# File 'lib/config_reader.rb', line 153 def config_file @config_file end |
#environment ⇒ Object
Returns the value of attribute environment.
153 154 155 |
# File 'lib/config_reader.rb', line 153 def environment @environment end |
#ignore_missing_keys ⇒ Object
Returns the value of attribute ignore_missing_keys.
153 154 155 |
# File 'lib/config_reader.rb', line 153 def ignore_missing_keys @ignore_missing_keys end |
#permitted_classes ⇒ Object
Returns the value of attribute permitted_classes.
153 154 155 |
# File 'lib/config_reader.rb', line 153 def permitted_classes @permitted_classes end |
#sekrets_file ⇒ Object
Returns the value of attribute sekrets_file.
153 154 155 |
# File 'lib/config_reader.rb', line 153 def sekrets_file @sekrets_file end |