Class: SimpleFeed::Providers::Redis::Driver::MockRedis
- Inherits:
-
Object
- Object
- SimpleFeed::Providers::Redis::Driver::MockRedis
- Defined in:
- lib/simplefeed/providers/redis/driver.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
128 129 130 |
# File 'lib/simplefeed/providers/redis/driver.rb', line 128 def method_missing(name, *args, &block) puts "calling redis.#{name}(#{args.to_s.gsub(/[\[\]]/, '')}) { #{block ? block.call : nil} }" end |