Sha256: 6edab5d81f4ef851c382c06a57f4bd3ccc149648989beb178f857354ca6fc0e8
Contents?: true
Size: 457 Bytes
Versions: 5
Compression:
Stored size: 457 Bytes
Contents
require 'lol/model' module Lol class Roster < Lol::Model # @!attribute [r] owner_id # @return [Fixnum] Team Owner Id attr_reader :owner_id # @!attribute [r] member_list # @return [Array] List of members attr_reader :member_list private attr_writer :owner_id def member_list= collection @member_list = collection.map do |c| c.respond_to?(:[]) && TeamMember.new(c) || c end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.4 | lib/lol/roster.rb |
ruby-lol-0.9.3 | lib/lol/roster.rb |
ruby-lol-0.9.1 | lib/lol/roster.rb |
ruby-lol-0.0.7 | lib/lol/roster.rb |
ruby-lol-0.0.6 | lib/lol/roster.rb |