Class: CardType
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CardType
- Includes:
- Comparable
- Defined in:
- app/models/card_type.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/card_type.rb', line 6 def <=> (other) result = nil if (other.kind_of?(CardType)) result = id() <=> other.id() end return result end |