Array
# File lib/benelux/stats.rb, line 66 def +(other) unless @name == other.name raise BeneluxError, "Cannot add #{other.name} to #{@name}" end g = Group.new self g.name = @name g << other g end
# File lib/benelux/stats.rb, line 76 def <<(other) self.push *other self end
# File lib/benelux/stats.rb, line 116 def filter(*tags) (f = super).name = @name f end
# File lib/benelux/stats.rb, line 81 def merge(*tags) #tags = Selectable.normalize tags mc = Calculator.new mc.init_tags! all = tags.empty? ? self : self.filter(tags) all.each { |calc| mc.merge! calc mc.add_tags_quick calc.tags } mc end
Generated with the Darkfish Rdoc Generator 2.