Module: CfnCli::Config

Defined in:
lib/cfncli/config.rb

Defined Under Namespace

Classes: CfnClient

Class Method Summary collapse

Class Method Details

.load_from_file(filename) ⇒ Object



5
6
7
8
9
10
# File 'lib/cfncli/config.rb', line 5

def self.load_from_file(filename)
  content = YAML::load_file(filename)
  Parameters.new(content)
rescue Errno::ENOENT
  nil
end