Sha256: e00662facc629170222dd32dfd125c0396df4cbb4f8f7b5444a1f5cfc597cf79

Contents?: true

Size: 321 Bytes

Versions: 36

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Dsu
  module Support
    module CommandOptions
      module TimeMnemonics
        # TODO: I18n.
        TODAY = %w[n today].freeze
        TOMORROW = %w[t tomorrow].freeze
        YESTERDAY = %w[y yesterday].freeze

        RELATIVE_REGEX = /\A[+-]\d+\z/
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dsu-3.0.5 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.4 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.3 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.beta.3 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.beta.2 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.beta.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.beta.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.12 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.11 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.10 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.9 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.8 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.7 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.6 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.5 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.4 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.3 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.2 lib/dsu/support/command_options/time_mnemonics.rb