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!



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

def <=>(other)
  -1
end

#to_sObject

:nodoc:



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

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