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