Class: Innate::LRUHash::CacheObject

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

Instance Attribute Summary collapse

Instance Attribute Details

#atimeObject

Returns the value of attribute atime

Returns:

  • (Object)

    the current value of atime



20
21
22
# File 'lib/innate/lru_hash.rb', line 20

def atime
  @atime
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



20
21
22
# File 'lib/innate/lru_hash.rb', line 20

def content
  @content
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



20
21
22
# File 'lib/innate/lru_hash.rb', line 20

def size
  @size
end