Class: NullTime

Inherits:
Object
  • Object
show all
Includes:
Comparable
Defined in:
app/models/null_time.rb

Instance Method Summary collapse

Instance Method Details

#<=>(another) ⇒ Object


4
5
6
# File 'app/models/null_time.rb', line 4

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