mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
18 lines
265 B
Ruby
18 lines
265 B
Ruby
|
module Rake
|
||
|
# LateTime is a fake timestamp that occurs _after_ any other time value.
|
||
|
class LateTime
|
||
|
include Comparable
|
||
|
include Singleton
|
||
|
|
||
|
def <=>(other)
|
||
|
1
|
||
|
end
|
||
|
|
||
|
def to_s
|
||
|
'<LATE TIME>'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
LATE = LateTime.instance
|
||
|
end
|