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
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/tins-0.13.2/lib/tins/module_group.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/tins-1.24.1/lib/tins/module_group.rb
tins-1.24.1 lib/tins/module_group.rb
tins-1.24.0 lib/tins/module_group.rb
tins-1.23.0 lib/tins/module_group.rb
tdiary-5.1.0 vendor/bundle/gems/tins-1.22.2/lib/tins/module_group.rb
tins-1.22.2 lib/tins/module_group.rb
tins-1.22.1 lib/tins/module_group.rb
tins-1.22.0 lib/tins/module_group.rb
tins-1.21.1 lib/tins/module_group.rb
tins-1.21.0 lib/tins/module_group.rb
tins-1.20.3 lib/tins/module_group.rb
tdiary-5.0.13 vendor/bundle/gems/tins-1.20.2/lib/tins/module_group.rb
tdiary-5.0.12.1 vendor/bundle/gems/tins-1.20.2/lib/tins/module_group.rb
tdiary-5.0.11 vendor/bundle/gems/tins-1.16.3/lib/tins/module_group.rb
tdiary-5.0.11 vendor/bundle/gems/tins-1.20.2/lib/tins/module_group.rb
tins-1.20.2 lib/tins/module_group.rb
tins-1.20.1 lib/tins/module_group.rb
tins-1.20.0 lib/tins/module_group.rb
tins-1.19.0 lib/tins/module_group.rb