Class: Gaku::Country

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/gaku/country.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



14
15
16
# File 'app/models/gaku/country.rb', line 14

def <=>(other)
  name <=> other.name
end

#to_sObject



18
19
20
# File 'app/models/gaku/country.rb', line 18

def to_s
  name
end