Sha256: 31180b71651271c43bba41416e62926915c16518e46432db1e05468b8fd3c09b

Contents?: true

Size: 340 Bytes

Versions: 407

Compression:

Stored size: 340 Bytes

Contents

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

407 entries across 343 versions & 88 rubygems

Version Path
mercadopago-custom-checkout-0.2.0 .gs/gems/rake-10.5.0/lib/rake/early_time.rb
cloudsmith-api-1.30.0 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.57.1 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
video_chat_get-0.1.9 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/early_time.rb
video_chat_get-0.1.6 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/early_time.rb
cloudsmith-api-0.54.15 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.53.79 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
lotrd-0.1.9 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/early_time.rb
lotrd-0.1.8 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/early_time.rb
lotrd-0.1.6 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/early_time.rb
lotrd-0.1.5 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/early_time.rb
cloudsmith-api-0.53.17 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.53.3 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.53.1 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.52.121 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.52.92 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/rake-12.0.0/lib/rake/early_time.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/rake-12.0.0/lib/rake/early_time.rb
cloudsmith-api-0.52.79 vendor/bundle/ruby/2.6.0/gems/rake-12.0.0/lib/rake/early_time.rb