Class: RubyLLM::SemanticCache::CacheStores::Memory::CacheEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/semantic_cache/cache_stores/memory.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



9
10
11
# File 'lib/ruby_llm/semantic_cache/cache_stores/memory.rb', line 9

def data
  @data
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



9
10
11
# File 'lib/ruby_llm/semantic_cache/cache_stores/memory.rb', line 9

def expires_at
  @expires_at
end