Class: BlendedConfig::Sources::TomlSource
- Inherits:
-
BlendedConfig::Source
- Object
- Struct
- BlendedConfig::Source
- BlendedConfig::Sources::TomlSource
- Defined in:
- lib/blended_config/sources/toml_source.rb
Instance Attribute Summary
Attributes inherited from BlendedConfig::Source
Instance Method Summary collapse
-
#initialize(path) ⇒ TomlSource
constructor
A new instance of TomlSource.
Methods inherited from BlendedConfig::Source
Constructor Details
#initialize(path) ⇒ TomlSource
Returns a new instance of TomlSource.
7 8 9 |
# File 'lib/blended_config/sources/toml_source.rb', line 7 def initialize(path) super(TOML.load_file(path)) end |