Class: Fylorg::Confparser

Inherits:
Object
  • Object
show all
Defined in:
lib/fylorg/confparser.rb

Instance Method Summary collapse

Instance Method Details

#parse(opts) ⇒ Object



7
8
9
# File 'lib/fylorg/confparser.rb', line 7

def parse(opts)
  JSON.parse(File.open(opts[:dictionary], "r", &:read))
end