lib/prop_check/helper.rb in prop_check-0.15.0 vs lib/prop_check/helper.rb in prop_check-0.16.0
- old
+ new
@@ -34,13 +34,8 @@
def call_splatted(val, &block)
return block.call(**val) if val.is_a?(Hash) && val.keys.all? { |k| k.is_a?(Symbol) }
block.call(val)
- # if kwval != {}
- # block.call(**kwval)
- # else
- # block.call(*val)
- # end
end
end
end