class NerdTown::Guild::MemberCollectionParser::MemberCollection
Attributes
collection[R]
Public Class Methods
new()
click to toggle source
# File lib/nerd_town/guild.rb, line 78 def initialize @collection = [] end
Public Instance Methods
each(&block)
click to toggle source
# File lib/nerd_town/guild.rb, line 82 def each(&block) collection.each do |member| block.call(member) end end
push(member)
click to toggle source
# File lib/nerd_town/guild.rb, line 88 def push(member) collection.push(member) end