Class: ModelIterator::NullRedis
- Inherits:
-
Object
- Object
- ModelIterator::NullRedis
- Defined in:
- lib/model_iterator.rb
Overview
Pass this to ModelIterator if you don’t want to store state anywhere.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new ⇒ Object
237 238 239 |
# File 'lib/model_iterator.rb', line 237 def self.new @instance end |
Instance Method Details
#del(key) ⇒ Object
248 249 |
# File 'lib/model_iterator.rb', line 248 def del(key) end |
#get(key) ⇒ Object
241 242 243 |
# File 'lib/model_iterator.rb', line 241 def get(key) 0 end |
#set(key, value) ⇒ Object
245 246 |
# File 'lib/model_iterator.rb', line 245 def set(key, value) end |