Class: ConcurrentPipeline::Stores::Yaml::Db::Reader

Inherits:
Struct
  • Object
show all
Defined in:
lib/concurrent_pipeline/stores/yaml/db.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#storeObject

Returns the value of attribute store

Returns:

  • (Object)

    the current value of store



10
11
12
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 10

def store
  @store
end

Instance Method Details

#allObject



15
16
17
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 15

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

#changesetObject



27
28
29
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 27

def changeset
  store.changeset
end

#everythingObject



19
20
21
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 19

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

#findObject



11
12
13
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 11

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

#reader?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 31

def reader?
  true
end

#to_hObject



23
24
25
# File 'lib/concurrent_pipeline/stores/yaml/db.rb', line 23

def to_h(...)
  store.to_h(...)
end