Class: Pktool::Nature
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Pktool::Nature
- Defined in:
- lib/models/nature.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
5 6 7 |
# File 'lib/models/nature.rb', line 5 def to_s self.name.to_s end |
#to_sym ⇒ Object
8 9 10 |
# File 'lib/models/nature.rb', line 8 def to_sym self.name.to_sym end |