lib/raap/symbolic_caller.rb in raap-0.5.0 vs lib/raap/symbolic_caller.rb in raap-0.6.0
- old
+ new
@@ -119,11 +119,11 @@
SymbolicCaller.new(symbolic_call).eval
rescue RuntimeError, NotImplementedError
symbolic_call
end
- def walk(&)
- _walk(@symbolic_call, true, &)
+ def walk(&block)
+ _walk(@symbolic_call, true, &block)
end
def _walk(symbolic_call, is_last, &block)
return symbolic_call if BindCall::instance_of?(symbolic_call, BasicObject)
return symbolic_call if !BindCall.respond_to?(symbolic_call, :deconstruct) && !BindCall.respond_to?(symbolic_call, :deconstruct_keys)