lib/configdsl.rb in configdsl-1.1.0 vs lib/configdsl.rb in configdsl-1.2.0

- old
+ new

@@ -115,9 +115,14 @@ def lazy!(*args, &block) LazyValue.new(block, args) end + def assign!(sym, value = nil, &block) + return sym.each { |key, val| assign!(key, val) } if sym.kind_of? Hash + varibales_hook(sym, value, &block) + end + def varibales_hook(meth, *args, &block) debug "Hooked #{meth}" debug "Context is #{context}" if block_given? # Add list