Class: Gaku::Country
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Gaku::Country
- Defined in:
- app/models/gaku/country.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
12 13 14 |
# File 'app/models/gaku/country.rb', line 12 def <=>(other) name <=> other.name end |
#to_s ⇒ Object
16 17 18 |
# File 'app/models/gaku/country.rb', line 16 def to_s name end |