Class: ConcurrentPipeline::ReadyOnlyStore

Inherits:
Object
  • Object
show all
Defined in:
lib/concurrent_pipeline/read_only_store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(store) ⇒ ReadyOnlyStore

Returns a new instance of ReadyOnlyStore.



6
7
8
# File 'lib/concurrent_pipeline/read_only_store.rb', line 6

def initialize(store)
  @store = store
end

Instance Attribute Details

#storeObject (readonly)

Returns the value of attribute store.



5
6
7
# File 'lib/concurrent_pipeline/read_only_store.rb', line 5

def store
  @store
end

Instance Method Details

#allObject



14
15
16
# File 'lib/concurrent_pipeline/read_only_store.rb', line 14

def all(...)
  store.all(...)
end

#everythingObject



18
19
20
# File 'lib/concurrent_pipeline/read_only_store.rb', line 18

def everything(...)
  store.everything(...)
end

#findObject



10
11
12
# File 'lib/concurrent_pipeline/read_only_store.rb', line 10

def find(...)
  store.find(...)
end