Sha256: ff03393c82b29d5ba38465f114064025e7883b1c4411c757c3353808158ab8e9
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 Bytes
Contents
module Lol class MasteryPage < Model # @!attribute [r] id # @return [Fixnum] id of summoner attr_reader :summoner_id # @!attribute [r] talents # @return [Array] array of Lol::Talent attr_reader :talents # @!attribute [r] name # @return [String] name of mastery page attr_reader :name # @!attribute [r] current # @return [Boolean] is it the current mastery page? attr_reader :current private attr_writer :summoner_id, :name, :current def talents= new_talents @talents = new_talents.map {|t| Talent.new t} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.7 | lib/lol/mastery_page.rb |
ruby-lol-0.9.6 | lib/lol/mastery_page.rb |
ruby-lol-0.9.5 | lib/lol/mastery_page.rb |