Class: Rake::EarlyTime

Inherits:
Object show all
Includes:
Comparable, Singleton
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/early_time.rb

Overview

EarlyTime is a fake timestamp that occurs before any other time value.

Instance Method Summary collapse

Methods included from Singleton

#duplicable?

Instance Method Details

#<=>(other) ⇒ Object

The EarlyTime always comes before other!



12
13
14
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/early_time.rb', line 12

def <=>(other)
  -1
end

#to_sObject

:nodoc:



16
17
18
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/early_time.rb', line 16

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