Module: Dry::Core::Memoizable::ClassInterface::Object
- Includes:
- Base
- Defined in:
- lib/dry/core/memoizable.rb
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#new ⇒ Object
36 37 38 39 40 |
# File 'lib/dry/core/memoizable.rb', line 36 def new(*) obj = super obj.instance_variable_set(:@__memoized__, MEMOIZED_HASH.dup) obj end |