Class: StaticConfig::Reader::YamlFile
- Defined in:
- lib/static_config/reader/yaml_file.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ YamlFile
constructor
A new instance of YamlFile.
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ YamlFile
Returns a new instance of YamlFile.
7 8 9 10 11 |
# File 'lib/static_config/reader/yaml_file.rb', line 7 def initialize(opts = {}) super @file = opts[:file] @section = opts[:section] end |