# File lib/benelux/stats.rb, line 33 33: def add_groups(*args) 34: args.flatten.each do |meth| 35: next if has_group? meth 36: @names << meth 37: self.class.send :attr_reader, meth 38: (g = Benelux::Stats::Group.new).name = meth 39: instance_variable_set("@#{meth}", g) 40: end 41: end