module ROM::Memoizable::ClassInterface
Public Instance Methods
memoize(*names)
click to toggle source
@api private
# File lib/rom/support/memoizable.rb, line 10 def memoize(*names) prepend(Memoizer.new(self, names)) end
new(*)
click to toggle source
Calls superclass method
# File lib/rom/support/memoizable.rb, line 14 def new(*) obj = super obj.instance_variable_set(:'@__memoized__', MEMOIZED_HASH.dup) obj end