Class: RVC::TTLCache::Entry

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

Instance Attribute Summary collapse

Instance Attribute Details

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



24
25
26
# File 'lib/rvc/ttl_cache.rb', line 24

def time
  @time
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



24
25
26
# File 'lib/rvc/ttl_cache.rb', line 24

def value
  @value
end