Class: Librarian::Environment::RuntimeCache::KeyspaceCache

Inherits:
Object
  • Object
show all
Defined in:
lib/librarian/environment/runtime_cache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runtime_cache, keyspace) ⇒ KeyspaceCache

Returns a new instance of KeyspaceCache.



24
25
26
27
# File 'lib/librarian/environment/runtime_cache.rb', line 24

def initialize(runtime_cache, keyspace)
  self.runtime_cache = runtime_cache
  self.keyspace = keyspace
end

Instance Attribute Details

#keyspaceObject

Returns the value of attribute keyspace.



22
23
24
# File 'lib/librarian/environment/runtime_cache.rb', line 22

def keyspace
  @keyspace
end

#runtime_cacheObject

Returns the value of attribute runtime_cache.



22
23
24
# File 'lib/librarian/environment/runtime_cache.rb', line 22

def runtime_cache
  @runtime_cache
end