Class: TimedLRU::Node
- Inherits:
-
Struct
- Object
- Struct
- TimedLRU::Node
- Defined in:
- lib/timed_lru.rb
Instance Attribute Summary collapse
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#key ⇒ Object
Returns the value of attribute key.
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#expires_at ⇒ Object
Returns the value of attribute expires_at
14 15 16 |
# File 'lib/timed_lru.rb', line 14 def expires_at @expires_at end |
#key ⇒ Object
Returns the value of attribute key
14 15 16 |
# File 'lib/timed_lru.rb', line 14 def key @key end |
#left ⇒ Object
Returns the value of attribute left
14 15 16 |
# File 'lib/timed_lru.rb', line 14 def left @left end |
#right ⇒ Object
Returns the value of attribute right
14 15 16 |
# File 'lib/timed_lru.rb', line 14 def right @right end |
#value ⇒ Object
Returns the value of attribute value
14 15 16 |
# File 'lib/timed_lru.rb', line 14 def value @value end |