Module: Dry::Core::Memoizable::ClassInterface::BasicObject

Includes:
Base
Defined in:
lib/dry/core/memoizable.rb

Instance Method Summary collapse

Methods included from Base

#inherited, #memoize

Instance Method Details

#newObject



26
27
28
29
30
# File 'lib/dry/core/memoizable.rb', line 26

def new(*)
  obj = super
  obj.instance_eval { @__memoized__ = MEMOIZED_HASH.dup }
  obj
end