Class: Starcraft2::Profile::NonRank
- Inherits:
-
Object
- Object
- Starcraft2::Profile::NonRank
- Defined in:
- lib/starcraft2/profile/non_rank.rb
Instance Attribute Summary collapse
-
#games_played ⇒ Object
Returns the value of attribute games_played.
-
#mmq ⇒ Object
Returns the value of attribute mmq.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ NonRank
constructor
A new instance of NonRank.
Constructor Details
Instance Attribute Details
#games_played ⇒ Object
Returns the value of attribute games_played.
4 5 6 |
# File 'lib/starcraft2/profile/non_rank.rb', line 4 def games_played @games_played end |
#mmq ⇒ Object
Returns the value of attribute mmq.
4 5 6 |
# File 'lib/starcraft2/profile/non_rank.rb', line 4 def mmq @mmq end |
Class Method Details
.build(non_rank_data) ⇒ Object
10 11 12 13 14 |
# File 'lib/starcraft2/profile/non_rank.rb', line 10 def self.build(non_rank_data) non_rank_data.map do |nr| new(nr) end end |