Class: ConcurrentPipeline::ReadyOnlyStore
- Inherits:
-
Object
- Object
- ConcurrentPipeline::ReadyOnlyStore
- Defined in:
- lib/concurrent_pipeline/read_only_store.rb
Instance Attribute Summary collapse
-
#store ⇒ Object
readonly
Returns the value of attribute store.
Instance Method Summary collapse
- #all ⇒ Object
- #everything ⇒ Object
- #find ⇒ Object
-
#initialize(store) ⇒ ReadyOnlyStore
constructor
A new instance of ReadyOnlyStore.
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
#store ⇒ Object (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
#all ⇒ Object
14 15 16 |
# File 'lib/concurrent_pipeline/read_only_store.rb', line 14 def all(...) store.all(...) end |
#everything ⇒ Object
18 19 20 |
# File 'lib/concurrent_pipeline/read_only_store.rb', line 18 def everything(...) store.everything(...) end |
#find ⇒ Object
10 11 12 |
# File 'lib/concurrent_pipeline/read_only_store.rb', line 10 def find(...) store.find(...) end |