Sha256: 610f4665ea0fa8793394debe5d3b356c8d6f05fc362c7db596d7e820646bce1e
Contents?: true
Size: 594 Bytes
Versions: 19
Compression:
Stored size: 594 Bytes
Contents
module Lol class MasteryPage < Model # @!attribute [r] id # @return [Fixnum] mastery page id attr_reader :id # @!attribute [r] masteries # @return [Array] array of Lol::Mastery attr_reader :masteries # @!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 :id, :name, :current def masteries= new_masteries @masteries = new_masteries.map {|t| Mastery.new t} end end end
Version data entries
19 entries across 19 versions & 1 rubygems