Sha256: 9ede1ac56a2fb7253d1db5c3e2f98f2cb4243b60dec01d7b6b04290af8e80edd

Contents?: true

Size: 350 Bytes

Versions: 124

Compression:

Stored size: 350 Bytes

Contents

require 'tins/concern'

module Tins
  module Concern
    module ModuleMixin
      def tins_concern_configure(*args)
        Thread.current[:tin_concern_args] = args
        self
      end

      def tins_concern_args
        Thread.current[:tin_concern_args]
      end
    end
  end

  class ::Module
    include Tins::Concern::ModuleMixin
  end
end

Version data entries

124 entries across 110 versions & 8 rubygems

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