Class: Nanoc::Int::Memoization::Value Private
- Inherits:
-
Object
- Object
- Nanoc::Int::Memoization::Value
- Defined in:
- lib/nanoc/base/memoization.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #value ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(value) ⇒ Value
constructor
private
A new instance of Value.
Constructor Details
#initialize(value) ⇒ Value
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.
Returns a new instance of Value.
30 31 32 |
# File 'lib/nanoc/base/memoization.rb', line 30 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ 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.
28 29 30 |
# File 'lib/nanoc/base/memoization.rb', line 28 def value @value end |