Class: Cache
- Inherits:
-
Object
- Object
- Cache
- Defined in:
- lib/ff/ruby/server/sdk/common/cache.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete(key) ⇒ Object
- #get(key) ⇒ Object
-
#initialize ⇒ Cache
constructor
A new instance of Cache.
- #keys ⇒ Object
- #set(key, value) ⇒ Object
Constructor Details
#initialize ⇒ Cache
Returns a new instance of Cache.
3 4 5 6 |
# File 'lib/ff/ruby/server/sdk/common/cache.rb', line 3 def initialize @tbi = "To be implemented" end |
Instance Method Details
#delete(key) ⇒ Object
18 19 20 21 |
# File 'lib/ff/ruby/server/sdk/common/cache.rb', line 18 def delete(key) raise @tbi end |
#get(key) ⇒ Object
13 14 15 16 |
# File 'lib/ff/ruby/server/sdk/common/cache.rb', line 13 def get(key) raise @tbi end |
#keys ⇒ Object
23 24 25 26 |
# File 'lib/ff/ruby/server/sdk/common/cache.rb', line 23 def keys raise @tbi end |
#set(key, value) ⇒ Object
8 9 10 11 |
# File 'lib/ff/ruby/server/sdk/common/cache.rb', line 8 def set(key, value) raise @tbi end |