Class: Contrast::Config::LocalSourceValue
- Defined in:
- lib/contrast/config/configuration_files.rb
Overview
This class will hold all the info about the read file.
Instance Attribute Summary collapse
- #path ⇒ String readonly
- #values ⇒ Hash readonly
Instance Method Summary collapse
-
#initialize(path = '', values = {}) ⇒ LocalSourceValue
constructor
A new instance of LocalSourceValue.
Constructor Details
#initialize(path = '', values = {}) ⇒ LocalSourceValue
Returns a new instance of LocalSourceValue.
39 40 41 42 |
# File 'lib/contrast/config/configuration_files.rb', line 39 def initialize path = '', values = {} @path = path unless Contrast::Utils::DuckUtils.empty_duck?(path) @values = values end |