Module: LRUCache::Item
- Included in:
- Sentinel
- Defined in:
- lib/more/facets/lrucache.rb
Overview
Mix this in your class to make LRU-managable.
Instance Attribute Summary collapse
-
#lru_key ⇒ Object
Returns the value of attribute lru_key.
-
#lru_next ⇒ Object
Returns the value of attribute lru_next.
-
#lru_prev ⇒ Object
Returns the value of attribute lru_prev.
Instance Attribute Details
#lru_key ⇒ Object
Returns the value of attribute lru_key.
43 44 45 |
# File 'lib/more/facets/lrucache.rb', line 43 def lru_key @lru_key end |
#lru_next ⇒ Object
Returns the value of attribute lru_next.
43 44 45 |
# File 'lib/more/facets/lrucache.rb', line 43 def lru_next @lru_next end |
#lru_prev ⇒ Object
Returns the value of attribute lru_prev.
43 44 45 |
# File 'lib/more/facets/lrucache.rb', line 43 def lru_prev @lru_prev end |