Sha256: 07ae3b80dd93180e3beff148e0cb3b64e77e4a34ad61753183e9c584f4a72fa1
Contents?: true
Size: 583 Bytes
Versions: 21
Compression:
Stored size: 583 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 private attr_writer :id, :name, :current def slots= *runeslots @slots = runeslots.flatten.map {|slot| RuneSlot.new slot} end end end
Version data entries
21 entries across 21 versions & 1 rubygems