Class: CeilingCat::Storage::Base
- Inherits:
-
Object
- Object
- CeilingCat::Storage::Base
- Defined in:
- lib/ceiling_cat/storage/base.rb
Class Method Summary collapse
-
.[](k) ⇒ Object
Returns the value at the key
k
. -
.[]=(k, v) ⇒ Object
Sets the key
k
to the valuev
in the current storage system.
Class Method Details
.[](k) ⇒ Object
Returns the value at the key k
.
12 13 14 |
# File 'lib/ceiling_cat/storage/base.rb', line 12 def [](k) raise NotImplementedError, "Implement in storage type file!" end |
.[]=(k, v) ⇒ Object
Sets the key k
to the value v
in the current storage system
7 8 9 |
# File 'lib/ceiling_cat/storage/base.rb', line 7 def []=(k,v) raise NotImplementedError, "Implement in storage type file!" end |