Sha256: ff3aa316068197fe100bdd01aa0c2f5654d733a7112a3b6d839c55a38b967aa0
Contents?: true
Size: 573 Bytes
Versions: 6
Compression:
Stored size: 573 Bytes
Contents
module Lol class RunePage < Model # @!attribute [r] id # @return [Fixnum] id of Runepage attr_reader :id # @!attribute [r] name # @return [String] name of Runepage attr_reader :name # @!attribute [r] current # @return [Boolean] is the Runepage currently active? attr_reader :current # @!attribute [r] current # @return [Array] array of Lol::RuneSlot attr_reader :slots end private attr_writer :id, :name, :current def slots= *runeslots @slots = runeslots.flatten.map {|slot| RuneSlot.new slot} end end
Version data entries
6 entries across 6 versions & 1 rubygems