tracks/app/models/null_time.rb
2013-07-18 16:37:34 -05:00

7 lines
115 B
Ruby

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