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



12
13
14
# File 'app/models/gaku/country.rb', line 12

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

#to_sObject



16
17
18
# File 'app/models/gaku/country.rb', line 16

def to_s
  name
end