Class: City
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- City
- Defined in:
- app/models/city.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
8 9 10 |
# File 'app/models/city.rb', line 8 def <=>(other) name <=> other.name end |
#to_s ⇒ Object
12 13 14 |
# File 'app/models/city.rb', line 12 def to_s name end |