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.0.alpha.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-3.0.0.alpha.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.4.4 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.4.3 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.4.2 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.4.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.4.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.3.2 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.3.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.3.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.2.2 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.2.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.2.0 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.2.0.rc.2 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.2.0.rc.1 lib/dsu/support/command_options/time_mnemonics.rb
dsu-2.1.4 lib/dsu/support/command_options/time_mnemonics.rb