Module: Schked

Defined in:
lib/schked.rb,
lib/schked/cli.rb,
lib/schked/config.rb,
lib/schked/worker.rb,
lib/schked/railtie.rb,
lib/schked/version.rb,
lib/schked/redis_locker.rb,
lib/schked/redis_client_factory.rb

Defined Under Namespace

Modules: RedisClientFactory Classes: CLI, Config, Railtie, RedisLocker, Worker

Constant Summary collapse

VERSION =
"1.4.0"

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/schked.rb', line 16

def config
  @config ||= Config.new
end

.workerObject



20
21
22
# File 'lib/schked.rb', line 20

def worker
  @worker ||= Worker.new(config: config)
end