Method: Module#memoize

Defined in:
lib/core/facets/module/memoize.rb

#memoize(*args) ⇒ Object

This is here for backward compatibility.

Uncommon:

  • require ‘facets/module/memoize’



10
11
12
13
14
# File 'lib/core/facets/module/memoize.rb', line 10

def memoize(*args)
  include Memoizable
  Memoizable.instance_method(:memoize).bind(self).call(*args)
  #super(*args)  # TODO: why is super not working here?
end