Class: Memorium::Memo::Eager
- Inherits:
-
Object
- Object
- Memorium::Memo::Eager
- Defined in:
- lib/memorium/memo/eager.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Method Summary collapse
- #apply(name, reader:, writer:) ⇒ Object
-
#initialize(klass) ⇒ Eager
constructor
A new instance of Eager.
Constructor Details
#initialize(klass) ⇒ Eager
Returns a new instance of Eager.
5 6 7 |
# File 'lib/memorium/memo/eager.rb', line 5 def initialize(klass) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object
Returns the value of attribute klass.
3 4 5 |
# File 'lib/memorium/memo/eager.rb', line 3 def klass @klass end |