Class: BlendedConfig::Sources::TomlSource

Inherits:
BlendedConfig::Source show all
Defined in:
lib/blended_config/sources/toml_source.rb

Instance Attribute Summary

Attributes inherited from BlendedConfig::Source

#raw_source

Instance Method Summary collapse

Methods inherited from BlendedConfig::Source

#[], #prefix_with, #prefixes

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