Sha256: 54f16647538f50a4fa391b63875f3ae7a0c7c49d0b9e84abe6fc47515fcae73e
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
require 'rails' require 'whenever' require 'whenever/patches/job' require 'whenever/patches/job_list' module Whenever class Web < ::Rails::Engine engine_name self.name.deconstantize isolate_namespace Whenever class << self def config @config ||= Whenever::WebConfig.new end def job_list Whenever::WebJobList.new(file: config.schedule_file) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whenever-web-0.0.5 | lib/whenever/web.rb |