Class: State

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



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

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

#to_sObject



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

def to_s
  name
end