1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rake/late_time.rb

18 lines
265 B
Ruby
Raw Normal View History

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