Sha256: c07632e0b2a509ddb2ab9974f04479c635d4d61bf15c5333841996e6a9cc4036

Contents?: true

Size: 446 Bytes

Versions: 8

Compression:

Stored size: 446 Bytes

Contents

module Lol
  class RuneSlot < Model
    # @!attribute [r] id
    # @return [Fixnum] id of RuneSlot
    def id
      @rune_slot_id
    end

    # @!attribute [r] rune
    # @return [Rune] rune placed in the slot
    attr_reader :rune

    private

    def rune= rune_data
      @rune = Rune.new rune_data
    end

    def id= new_id
      @rune_slot_id = new_id
    end

    def rune_slot_id= new_id
      @rune_slot_id = new_id
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-lol-0.9.12 lib/lol/rune_slot.rb
ruby-lol-0.9.11 lib/lol/rune_slot.rb
ruby-lol-0.9.10 lib/lol/rune_slot.rb
ruby-lol-0.9.9 lib/lol/rune_slot.rb
ruby-lol-0.9.8 lib/lol/rune_slot.rb
ruby-lol-0.9.7 lib/lol/rune_slot.rb
ruby-lol-0.9.6 lib/lol/rune_slot.rb
ruby-lol-0.9.5 lib/lol/rune_slot.rb