Class: RailsIdle::Storage::Base
- Inherits:
-
Object
- Object
- RailsIdle::Storage::Base
- Defined in:
- lib/rails-idle/storage/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #add(path, execution_time = nil) ⇒ Object
- #get(path, key) ⇒ Object
- #objects_list ⇒ Object
- #reset(path) ⇒ Object
Instance Method Details
#add(path, execution_time = nil) ⇒ Object
5 6 7 |
# File 'lib/rails-idle/storage/base.rb', line 5 def add(path, execution_time = nil) add_to_list path end |
#get(path, key) ⇒ Object
9 10 11 |
# File 'lib/rails-idle/storage/base.rb', line 9 def get(path, key) raise NotImplementedError end |
#objects_list ⇒ Object
17 18 19 |
# File 'lib/rails-idle/storage/base.rb', line 17 def objects_list @objects_list ||= empty_list end |
#reset(path) ⇒ Object
13 14 15 |
# File 'lib/rails-idle/storage/base.rb', line 13 def reset(path) raise NotImplementedError end |