Class: XIVLodestone::DiscipleList::Disciple
- Inherits:
-
Struct
- Object
- Struct
- XIVLodestone::DiscipleList::Disciple
- Defined in:
- lib/xiv_lodestone/lodestone_character_disciple.rb
Overview
This strct representents a disciple
Instance Attribute Summary collapse
-
#current_exp ⇒ Object
Returns the value of attribute current_exp.
-
#icon_url ⇒ Object
Returns the value of attribute icon_url.
-
#level ⇒ Object
Returns the value of attribute level.
-
#name ⇒ Object
Returns the value of attribute name.
-
#total_exp ⇒ Object
Returns the value of attribute total_exp.
Instance Method Summary collapse
Instance Attribute Details
#current_exp ⇒ Object
Returns the value of attribute current_exp
10 11 12 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 10 def current_exp @current_exp end |
#icon_url ⇒ Object
Returns the value of attribute icon_url
10 11 12 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 10 def icon_url @icon_url end |
#level ⇒ Object
Returns the value of attribute level
10 11 12 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 10 def level @level end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 10 def name @name end |
#total_exp ⇒ Object
Returns the value of attribute total_exp
10 11 12 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 10 def total_exp @total_exp end |
Instance Method Details
#next_level ⇒ Object
11 12 13 |
# File 'lib/xiv_lodestone/lodestone_character_disciple.rb', line 11 def next_level total_exp - current_exp end |