Class: Librarian::Environment::RuntimeCache::KeyspaceCache
- Inherits:
-
Object
- Object
- Librarian::Environment::RuntimeCache::KeyspaceCache
- Defined in:
- lib/librarian/environment/runtime_cache.rb
Instance Attribute Summary collapse
-
#keyspace ⇒ Object
readonly
Returns the value of attribute keyspace.
-
#runtime_cache ⇒ Object
readonly
Returns the value of attribute runtime_cache.
Instance Method Summary collapse
-
#initialize(runtime_cache, keyspace) ⇒ KeyspaceCache
constructor
A new instance of KeyspaceCache.
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
#keyspace ⇒ Object
Returns the value of attribute keyspace.
22 23 24 |
# File 'lib/librarian/environment/runtime_cache.rb', line 22 def keyspace @keyspace end |
#runtime_cache ⇒ Object
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 |