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

Defined Under Namespace

Classes: CLI, Config, Railtie, RedisLocker, Worker

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/schked.rb', line 14

def config
  @config ||= Config.new
end

.workerObject



18
19
20
# File 'lib/schked.rb', line 18

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