Class: StaticConfig::Reader::YamlFile

Inherits:
Base
  • Object
show all
Defined in:
lib/static_config/reader/yaml_file.rb

Instance Method Summary collapse

Methods inherited from Base

read, #read

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