# File lib/merb-core/plugins.rb, line 14 def self.config @config ||= begin # this is so you can do Merb.plugins.config[:helpers][:awesome] = "bar" config_hash = Hash.new {|h,k| h[k] = {}} file = Merb.root / "config" / "plugins.yml" if File.exists?(file) require 'yaml' to_merge = YAML.load_file(file) else to_merge = {} end config_hash.merge(to_merge) end end