Class: Sfn::Cache::LocalValue
- Inherits:
-
Object
- Object
- Sfn::Cache::LocalValue
- Defined in:
- lib/sfn/cache.rb
Overview
Simple value for memory cache
Instance Attribute Summary collapse
-
#value ⇒ Object
Value.
Instance Method Summary collapse
-
#initialize(*args) ⇒ LocalValue
constructor
A new instance of LocalValue.
Constructor Details
#initialize(*args) ⇒ LocalValue
Returns a new instance of LocalValue.
279 280 281 |
# File 'lib/sfn/cache.rb', line 279 def initialize(*args) @value = nil end |
Instance Attribute Details
#value ⇒ Object
Returns value.
277 278 279 |
# File 'lib/sfn/cache.rb', line 277 def value @value end |