Sha256: 839469dba7a19baa1313d9994e55137095ed4f4d2f10c4fd4e3740474a2b84bd

Contents?: true

Size: 212 Bytes

Versions: 174

Compression:

Stored size: 212 Bytes

Contents

module Tins
  module ModuleGroup
    def self.[](*modules)
      modul = Module.new
      modules.each do |m|
        m.module_eval { include modul }
      end
      modul
    end
  end
end

require 'tins/alias'

Version data entries

174 entries across 156 versions & 9 rubygems

Version Path
tins-1.37.0 lib/tins/module_group.rb
tins-1.36.1 lib/tins/module_group.rb
tins-1.36.0 lib/tins/module_group.rb
tins-1.35.0 lib/tins/module_group.rb
tins-1.34.0 lib/tins/module_group.rb
tins-1.33.0 lib/tins/module_group.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/tins-1.31.1/lib/tins/module_group.rb
tins-1.32.1 lib/tins/module_group.rb
tins-1.32.0 lib/tins/module_group.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/tins-1.31.1/lib/tins/module_group.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/tins-1.31.1/lib/tins/module_group.rb
tins-1.31.1 lib/tins/module_group.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/tins-1.31.0/lib/tins/module_group.rb
tins-1.31.0 lib/tins/module_group.rb
tins-1.30.0 lib/tins/module_group.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/tins-1.29.1/lib/tins/module_group.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/tins-1.29.1/lib/tins/module_group.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/tins-1.29.1/lib/tins/module_group.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/tins-1.29.1/lib/tins/module_group.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tins-1.26.0/lib/tins/module_group.rb