class Mogwai::Config
Public Instance Methods
read()
click to toggle source
# File lib/mogwai.rb, line 8 def read CONFIG_PATHS.each do |path| if File.exists? path config = YAML.load_file path config.each_pair do |key, value| self[key.upcase.to_sym] = value end return end end raise "No Mogfile found. Please make sure you have a Mogfile present." end