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
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_bank_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_organization_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb
cybrid_api_id_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb