Class: Rake::EarlyTime

Inherits:
Object
  • Object
show all
Includes:
Comparable, Singleton
Defined in:
lib/rake/early_time.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object

The EarlyTime always comes before other!



11
12
13
# File 'lib/rake/early_time.rb', line 11

def <=>(other)
  -1
end

#to_sObject

:nodoc:



15
16
17
# File 'lib/rake/early_time.rb', line 15

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