Class: Skill
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Skill
- Defined in:
- app/models/skill.rb
Overview
This class describes a skill.
Instance Method Summary (collapse)
-
- (String) element_symbol_txt
Return the description of element.
-
- (String) type_symbol_txt
Return the description of skill type.
Instance Method Details
- (String) element_symbol_txt
Return the description of element.
11 12 13 |
# File 'app/models/skill.rb', line 11 def element_symbol_txt return I18n.t('activerecord.attributes.element.' + element_symbol) end |
- (String) type_symbol_txt
Return the description of skill type.
5 6 7 |
# File 'app/models/skill.rb', line 5 def type_symbol_txt return I18n.t('activerecord.attributes.skill.' + type_symbol) end |