Object
The Configuration can be used to setup Yell before initializing an instance.
# File lib/yell/configuration.rb, line 11 def self.load!( file ) yaml = YAML.load( ERB.new(File.read(file)).result ) # in case we have ActiveSupport if defined?(ActiveSupport::HashWithIndifferentAccess) yaml = ActiveSupport::HashWithIndifferentAccess.new(yaml) end yaml[Yell.env] || {} end
Generated with the Darkfish Rdoc Generator 2.