Class: Yell::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/yell/configuration.rb

Overview

The Configuration can be used to setup Yell before initializing an instance.

Class Method Summary collapse

Class Method Details

.load!(file) ⇒ Object



11
12
13
# File 'lib/yell/configuration.rb', line 11

def self.load!( file )
  YAML.load_file( file )[ Yell.env ] || {}
end