Class: State

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



9
10
11
# File 'app/models/state.rb', line 9

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

#to_sObject



13
14
15
# File 'app/models/state.rb', line 13

def to_s
  name
end