# File lib/benelux/stats.rb, line 49 49: def +(other) 50: if !other.is_a?(Benelux::Stats) 51: raise TypeError, "can't convert #{other.class} into Stats" 52: end 53: s = self.clone 54: other.names.each do |name| 55: s.add_group name 56: s.group(name) << other.group(name) 57: end 58: s 59: end