lib/tacky.rb in tacky-0.3.0 vs lib/tacky.rb in tacky-0.3.1

- old
+ new

@@ -45,10 +45,10 @@ @mutex.synchronize do unless @cache.key?(args) @cache[args] = @origin.__send__(*args) do |*a| yield(*a) if block_given? end - @cache[args] = Tacky.new(@cache[args]) if @deep + @cache[args] = Tacky.new(@cache[args], deep: @deep) if @deep end @cache[args] end end