3 4 5 6 7 8 9
# File 'lib/tins/module_group.rb', line 3 def self.[](*modules) modul = Module.new modules.each do |m| m.module_eval { include modul } end modul end