lib/nanoc/base/memoization.rb in nanoc-3.7.4 vs lib/nanoc/base/memoization.rb in nanoc-3.7.5

- old
+ new

@@ -1,14 +1,12 @@ # encoding: utf-8 module Nanoc - # Adds support for memoizing functions. # # @since 3.2.0 module Memoization - # Memoizes the method with the given name. The modified method will cache # the results of the original method, so that calling a method twice with # the same arguments will short-circuit and return the cached results # immediately. # @@ -59,9 +57,7 @@ # Done @__memoization_cache[method_name][args] end end - end - end