# File lib/hoe.rb, line 743 def with_config rc = File.expand_path("~/.hoerc") exists = File.exist? rc config = exists ? YAML.load_file(rc) : {} localrc = File.join Dir.pwd, '.hoerc' exists = File.exist? localrc localconfig = exists ? YAML.load_file(localrc) : {} yield(config.merge(localconfig), rc) end