Sha256: 8892b493f1ea93a775ad402e1bd25f77b2a42615ba1c35f8e48741a291a20d4f
Contents?: true
Size: 359 Bytes
Versions: 17
Compression:
Stored size: 359 Bytes
Contents
module CronoTrigger class Railtie < ::Rails::Railtie config.after_initialize do CronoTrigger.reloader = CronoTrigger::Railtie::Reloader.new end class Reloader def initialize(app = ::Rails.application) @app = app end def call @app.reloader.wrap do yield end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems