Class: LanGrove::ConfigLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/langrove/ext/config_loader.rb

Class Method Summary collapse

Class Method Details

.yaml(file) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/langrove/ext/config_loader.rb', line 7

def self.yaml( file )
  
  # no rescue block
  # daemon fails on missing config file
  
  YAML.load_file( file )
    
end