Sha256: 0d3c8edf3a5fedc4e6dd29c68b5b746d9c4be8adb135b6c007afb7608cce8733

Contents?: true

Size: 370 Bytes

Versions: 6982

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true
module Rake

  # EarlyTime is a fake timestamp that occurs _before_ any other time value.
  class EarlyTime
    include Comparable
    include Singleton

    ##
    # The EarlyTime always comes before +other+!

    def <=>(other)
      -1
    end

    def to_s # :nodoc:
      "<EARLY TIME>"
    end
  end

  EARLY = EarlyTime.instance
end

Version data entries

6,982 entries across 6,870 versions & 99 rubygems

Version Path
cybrid_api_id_ruby-0.122.67 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.122.66 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.122.65 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.122.64 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
direct7-0.0.18 vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/early_time.rb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/early_time.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/rake-13.1.0/lib/rake/early_time.rb
direct7-0.0.17 vendor/bundle/ruby/3.0.0/gems/rake-13.1.0/lib/rake/early_time.rb
cybrid_api_id_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.122.60 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.122.59 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb