Module: SimpleFeed::Providers::Redis
- Defined in:
- lib/simplefeed/providers/redis.rb,
lib/simplefeed/providers/redis/stats.rb,
lib/simplefeed/providers/redis/driver.rb,
lib/simplefeed/providers/redis/provider.rb
Defined Under Namespace
Modules: Driver Classes: Provider, Stats
Class Attribute Summary collapse
-
.debug ⇒ Object
Returns the value of attribute debug.
Class Method Summary collapse
Class Attribute Details
.debug ⇒ Object
Returns the value of attribute debug.
29 30 31 |
# File 'lib/simplefeed/providers/redis/driver.rb', line 29 def debug @debug end |
Class Method Details
.debug? ⇒ Boolean
16 17 18 |
# File 'lib/simplefeed/providers/redis/driver.rb', line 16 def self.debug? debug end |
.with_debug ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/simplefeed/providers/redis/driver.rb', line 20 def self.with_debug previous_value = SimpleFeed::Providers::Redis.debug SimpleFeed::Providers::Redis.debug = true result = yield if block_given? SimpleFeed::Providers::Redis.debug = previous_value result end |