Module: Adalog::RepoConvenienceMethods
- Defined in:
- lib/adalog.rb
Instance Method Summary collapse
- #all ⇒ Object
- #clear! ⇒ Object
- #fetch(**options) ⇒ Object
- #insert(entry = nil, **options) ⇒ Object
- #repo ⇒ Object
Instance Method Details
#all ⇒ Object
39 40 41 |
# File 'lib/adalog.rb', line 39 def all configuration.repo.all end |
#clear! ⇒ Object
44 45 46 |
# File 'lib/adalog.rb', line 44 def clear! configuration.repo.clear! end |
#fetch(**options) ⇒ Object
49 50 51 |
# File 'lib/adalog.rb', line 49 def fetch(**) configuration.repo.fetch(**) end |
#insert(entry = nil, **options) ⇒ Object
54 55 56 |
# File 'lib/adalog.rb', line 54 def insert(entry = nil, **) configuration.repo.insert(entry, **) end |
#repo ⇒ Object
35 36 37 |
# File 'lib/adalog.rb', line 35 def repo configuration.repo end |