class LolApi::Stat
Attributes
raw_stat[R]
Public Class Methods
new(raw_stat)
click to toggle source
# File lib/lol_api/types/dtos/stat.rb, line 7 def initialize(raw_stat) @raw_stat = raw_stat end
Public Instance Methods
name()
click to toggle source
# File lib/lol_api/types/dtos/stat.rb, line 11 def name raw_stat[0] end
value()
click to toggle source
# File lib/lol_api/types/dtos/stat.rb, line 15 def value raw_stat[1] end