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



8
9
10
# File 'lib/rake/early_time.rb', line 8

def <=>(other)
  -1
end

#to_sObject



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

def to_s
  "<EARLY TIME>"
end