Class: SC::EarlyTime

Inherits:
Time show all
Includes:
Comparable, Singleton
Defined in:
lib/sproutcore/buildfile/early_time.rb

Overview

EarlyTime is a fake timestamp that occurs before any other time value. Borrowed from Rake 0.8.3

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



19
20
21
# File 'lib/sproutcore/buildfile/early_time.rb', line 19

def <=>(other)
  -1
end

#to_sObject



23
24
25
# File 'lib/sproutcore/buildfile/early_time.rb', line 23

def to_s
  "<EARLY TIME>"
end