lib/percheron/config_delegator.rb in percheron-0.6.4 vs lib/percheron/config_delegator.rb in percheron-0.7.0
- old
+ new
@@ -1,7 +1,6 @@
module Percheron
module ConfigDelegator
-
def def_config_item_with_default(config, default, *symbols)
symbols.each do |symbol|
define_method(symbol) do
send(config).fetch(symbol, default)
end