Module: NodeConfig

Defined in:
lib/node_config.rb,
lib/node_config/railtie.rb,
lib/node_config/version.rb

Defined Under Namespace

Classes: Railtie

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.load_file(path) ⇒ Object



5
6
7
# File 'lib/node_config.rb', line 5

def self.load_file(path)
  HashWithStructAccess.new(YAML.load_file(path))
end