Class: Milestone
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Milestone
- 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 |