Class: Flag

Inherits:
ActiveRecord::Base show all
Defined in:
app/models/flag.rb

Instance Method Summary collapse

Methods inherited from ActiveRecord::Base

#readonly?

Instance Method Details

#inspectObject



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

def inspect
  to_sym
end

#to_sObject



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

def to_s
  key.to_s
end

#to_symObject



6
7
8
# File 'app/models/flag.rb', line 6

def to_sym
  key.to_sym
end