tracks/app/models/null_time.rb
2019-12-18 09:49:57 -06:00

8 lines
129 B
Ruby

# typed: true
class NullTime
include Comparable
def <=>(another)
-1 # any other Time object is always greater
end
end