Class: BasicCache::TimeCacheItem
- Inherits:
-
Struct
- Object
- Struct
- BasicCache::TimeCacheItem
- Defined in:
- lib/caches/timecache.rb
Overview
Timecache item struct, timestamp and value
Instance Attribute Summary collapse
-
#stamp ⇒ Object
Returns the value of attribute stamp.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#stamp ⇒ Object
Returns the value of attribute stamp
7 8 9 |
# File 'lib/caches/timecache.rb', line 7 def stamp @stamp end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/caches/timecache.rb', line 7 def value @value end |