Class: Lol::MasteryPage
Instance Attribute Summary collapse
-
#current ⇒ Boolean
readonly
Is it the current mastery page?.
-
#id ⇒ Fixnum
readonly
Mastery page id.
-
#name ⇒ String
readonly
Name of mastery page.
-
#talents ⇒ Array
readonly
Array of Lol::Talent.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#current ⇒ Boolean
Returns is it the current mastery page?.
18 19 20 |
# File 'lib/lol/mastery_page.rb', line 18 def current @current end |
#id ⇒ Fixnum
Returns mastery page id.
6 7 8 |
# File 'lib/lol/mastery_page.rb', line 6 def id @id end |
#name ⇒ String
Returns name of mastery page.
14 15 16 |
# File 'lib/lol/mastery_page.rb', line 14 def name @name end |
#talents ⇒ Array
Returns array of Lol::Talent.
10 11 12 |
# File 'lib/lol/mastery_page.rb', line 10 def talents @talents end |