Sha256: 79b4cf94f85cfc28e762fb1705849b7817bb2ecec76c8c3f51c8d75865464260

Contents?: true

Size: 588 Bytes

Versions: 3

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

require "rails/engine"
require "active_support/all"
require "singleton"
require "concurrent-edge"
require "chrono_trigger/clock"
require "chrono_trigger/config"
require "chrono_trigger/event"
require "chrono_trigger/schedule"
require "chrono_trigger/timeline"
require "chrono_trigger/version"
require "chrono_trigger/worker"

module ChronoTrigger
  class Engine < Rails::Engine
  end

  def self.config
    ChronoTrigger::Config.instance
  end

  def self.schedule
    ChronoTrigger::Schedule.instance
  end

  def self.configure
    yield config
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chrono_trigger-1.0.2 lib/chrono_trigger.rb
chrono_trigger-1.0.1 lib/chrono_trigger.rb
chrono_trigger-1.0.0 lib/chrono_trigger.rb