Class: ConsoleAgent::Storage::Base
- Inherits:
-
Object
- Object
- ConsoleAgent::Storage::Base
- Defined in:
- lib/console_agent/storage/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete(key) ⇒ Object
- #exists?(key) ⇒ Boolean
- #list(pattern) ⇒ Object
- #read(key) ⇒ Object
- #write(key, content) ⇒ Object
Instance Method Details
#delete(key) ⇒ Object
22 23 24 |
# File 'lib/console_agent/storage/base.rb', line 22 def delete(key) raise NotImplementedError end |
#exists?(key) ⇒ Boolean
18 19 20 |
# File 'lib/console_agent/storage/base.rb', line 18 def exists?(key) raise NotImplementedError end |
#list(pattern) ⇒ Object
14 15 16 |
# File 'lib/console_agent/storage/base.rb', line 14 def list(pattern) raise NotImplementedError end |
#read(key) ⇒ Object
6 7 8 |
# File 'lib/console_agent/storage/base.rb', line 6 def read(key) raise NotImplementedError end |
#write(key, content) ⇒ Object
10 11 12 |
# File 'lib/console_agent/storage/base.rb', line 10 def write(key, content) raise NotImplementedError end |