Class: Time::Earlier

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



19
20
21
# File 'lib/reap/taskutils.rb', line 19

def <=>(other)
  -1
end

#to_sObject



23
24
25
# File 'lib/reap/taskutils.rb', line 23

def to_s
  "<EARLY TIME>"
end