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



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

def atime
  @atime
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



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

def content
  @content
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



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

def size
  @size
end