Class: Locca::ConfigReader

Inherits:
Object
  • Object
show all
Defined in:
lib/locca/config_reader.rb

Instance Method Summary collapse

Instance Method Details

#read(path) ⇒ Object



28
29
30
# File 'lib/locca/config_reader.rb', line 28

def read(path)
    return JSON.parse(IO.read(path))
end