Class: Skill

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

Overview

This class describes a skill.

Instance Method Summary (collapse)

Instance Method Details

- (String) element_symbol_txt

Return the description of element.

Returns:

  • (String)


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.

Returns:

  • (String)


5
6
7
# File 'app/models/skill.rb', line 5

def type_symbol_txt
  return I18n.t('activerecord.attributes.skill.' + type_symbol)
end