Module: Dry::Core::Memoizable::ClassInterface::BasicObject
- Includes:
- Base
- Defined in:
- lib/dry/core/memoizable.rb
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#new ⇒ Object
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 |