class BlendedConfig::Sources::File
Public Class Methods
new(options)
click to toggle source
# File lib/blended_config/sources/file.rb, line 6 def self.new(options) path = Pathname.new(options[:toml]) extension = :toml send(extension, path) end
toml(path)
click to toggle source
# File lib/blended_config/sources/file.rb, line 13 def self.toml(path) TomlSource.new(path) end