Class: LRUCache::Node
- Inherits:
-
Struct
- Object
- Struct
- LRUCache::Node
- Defined in:
- lib/lru_cache.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#lru ⇒ Object
Returns the value of attribute lru.
-
#mru ⇒ Object
Returns the value of attribute mru.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/lru_cache.rb', line 7 def key @key end |
#lru ⇒ Object
Returns the value of attribute lru
7 8 9 |
# File 'lib/lru_cache.rb', line 7 def lru @lru end |
#mru ⇒ Object
Returns the value of attribute mru
7 8 9 |
# File 'lib/lru_cache.rb', line 7 def mru @mru end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/lru_cache.rb', line 7 def value @value end |