lib/pause.rb in pause-0.0.5 vs lib/pause.rb in pause-0.0.6
- old
+ new
@@ -22,9 +22,13 @@
class << self
def analyzer
@analyzer ||= Pause::Analyzer.new
end
+ def adapter
+ @adapter ||= Pause::Redis::Adapter.new(config)
+ end
+
def configure(&block)
@configuration = Pause::Configuration.new.configure(&block)
end
def config