Class: Milestone

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Comparable
Defined in:
app/models/milestone.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



8
9
10
11
12
13
14
# File 'app/models/milestone.rb', line 8

def <=> (other)
  result = nil
  if (other.kind_of?(Milestone))
    result = id() <=> other.id()
  end
  return result
end