Class: Envm::YamlParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/envm/parser.rb

Instance Attribute Summary

Attributes inherited from Parser

#filepath

Instance Method Summary collapse

Methods inherited from Parser

#initialize

Constructor Details

This class inherits a constructor from Envm::Parser

Instance Method Details

#parseObject



31
32
33
34
# File 'lib/envm/parser.rb', line 31

def parse
  contents = File.read(filepath)
  YAML.load(contents)
end