Module: RedisPage
- Defined in:
- lib/redis_page.rb,
lib/redis_page/railtie.rb,
lib/redis_page/sweeper.rb,
lib/redis_page/version.rb,
lib/redis_page/view_helpers.rb,
lib/redis_page/sweeper_worker.rb
Defined Under Namespace
Modules: Sweeper, ViewHelpers
Classes: Config, Railtie, SweeperWorker
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
8
9
10
|
# File 'lib/redis_page.rb', line 8
def self.config
@@config ||= Config.new
end
|
12
13
14
|
# File 'lib/redis_page.rb', line 12
def self.configure
yield self.config
end
|
.redis ⇒ Object
16
17
18
|
# File 'lib/redis_page.rb', line 16
def self.redis
config.redis
end
|
.sweeper ⇒ Object
20
21
22
|
# File 'lib/redis_page.rb', line 20
def self.sweeper
config.sweeper
end
|