lib/core/facets/hash/recurse.rb in facets-2.9.0.pre.2 vs lib/core/facets/hash/recurse.rb in facets-2.9.0

- old
+ new

@@ -10,10 +10,10 @@ def recurse(*types, &block) types = [self.class] if types.empty? h = inject({}) do |hash, (key, value)| case value when *types - hash[key] = value.recurse(&block) + hash[key] = value.recurse(*types, &block) else hash[key] = value end hash end