Class: ChampionStat
Instance Attribute Summary (collapse)
-
- (Object) count
Returns the value of attribute count.
Attributes inherited from Stat
Instance Method Summary (collapse)
-
- (ChampionStat) initialize(data)
constructor
A new instance of ChampionStat.
Constructor Details
- (ChampionStat) initialize(data)
Returns a new instance of ChampionStat
36 37 38 39 |
# File 'lib/sightstone/ranked_stats.rb', line 36 def initialize(data) super(data) @count = data['c'] end |
Instance Attribute Details
- (Object) count
Returns the value of attribute count
34 35 36 |
# File 'lib/sightstone/ranked_stats.rb', line 34 def count @count end |