Module: ROM::Memoizable Private
- Included in:
- Associations::Abstract, Attribute, Relation, Relation::Graph, Schema
- Defined in:
- core/lib/rom/support/memoizable.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: ClassInterface Classes: Memoizer
Constant Summary collapse
- MEMOIZED_HASH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{}.freeze
Instance Attribute Summary collapse
- #__memoized__ ⇒ Object readonly private
Class Method Summary collapse
- .included(klass) ⇒ Object private
Instance Attribute Details
#__memoized__ ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 |
# File 'core/lib/rom/support/memoizable.rb', line 27 def __memoized__ @__memoized__ end |
Class Method Details
.included(klass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 |
# File 'core/lib/rom/support/memoizable.rb', line 22 def self.included(klass) super klass.extend(ClassInterface) end |