tracks/app/models/null_time.rb

8 lines
115 B
Ruby
Raw Permalink Normal View History

2013-07-18 16:37:34 -05:00
class NullTime
include Comparable
def <=>(another)
-1 # any other Time object is always greater
end
end