Class: TimedLRU::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/timed_lru.rb

Instance Attribute Summary collapse

Instance Attribute Details

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



14
15
16
# File 'lib/timed_lru.rb', line 14

def expires_at
  @expires_at
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



14
15
16
# File 'lib/timed_lru.rb', line 14

def key
  @key
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



14
15
16
# File 'lib/timed_lru.rb', line 14

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



14
15
16
# File 'lib/timed_lru.rb', line 14

def right
  @right
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



14
15
16
# File 'lib/timed_lru.rb', line 14

def value
  @value
end