Class: ConfigCat::NullConfigCache
- Inherits:
-
ConfigCache
- Object
- ConfigCache
- ConfigCat::NullConfigCache
- Defined in:
- lib/configcat/configcache.rb
Instance Method Summary collapse
- #get(key) ⇒ Object
-
#initialize ⇒ NullConfigCache
constructor
A new instance of NullConfigCache.
- #set(key, value) ⇒ Object
Constructor Details
#initialize ⇒ NullConfigCache
Returns a new instance of NullConfigCache.
5 6 7 |
# File 'lib/configcat/configcache.rb', line 5 def initialize @value = {} end |
Instance Method Details
#get(key) ⇒ Object
9 10 11 |
# File 'lib/configcat/configcache.rb', line 9 def get(key) return nil end |
#set(key, value) ⇒ Object
13 14 15 |
# File 'lib/configcat/configcache.rb', line 13 def set(key, value) # do nothing end |