Sha256: 99c8a715a241a7f8ae9ed6cca214610b3836edda7a754dcc0214bf9b4e3f9fe6

Contents?: true

Size: 873 Bytes

Versions: 1

Compression:

Stored size: 873 Bytes

Contents

require "active_support"
require "active_support/core_ext/object"
require "active_support/core_ext/numeric"
require "active_support/core_ext/date"
require "active_support/core_ext/time"
require "active_support/core_ext/date_time"

require "montrose/utils"
require "montrose/rule"
require "montrose/clock"
require "montrose/chainable"
require "montrose/recurrence"
require "montrose/frequency"
require "montrose/schedule"
require "montrose/stack"
require "montrose/version"

module Montrose
  extend Chainable

  class << self
    # Create a new recurrence from given options
    # An alias to {Montrose::Recurrence.new}
    #
    # @param options [Hash] recurrence options
    #
    # @example
    #   Montrose.recurrence(every: :day)
    #   Montrose.r(every: :day)
    #
    # @return [Montrose::Recurrence]
    #
    alias recurrence branch
    alias r branch
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
montrose-0.2.2 lib/montrose.rb