Sha256: 2c2b6d92f54a97dda2905d24e16a8f55042e8de68190cb0817ac0cab389401d0

Contents?: true

Size: 201 Bytes

Versions: 217

Compression:

Stored size: 201 Bytes

Contents

module Puma
  module Delegation
    def forward(what, who)
      module_eval <<-CODE
        def #{what}(*args, &block)
          #{who}.#{what}(*args, &block)
        end
      CODE
    end
  end
end

Version data entries

217 entries across 212 versions & 19 rubygems

Version Path
puma-3.11.3-java lib/puma/delegation.rb
puma-3.11.3 lib/puma/delegation.rb
puma-3.11.2-java lib/puma/delegation.rb
puma-3.11.2 lib/puma/delegation.rb
puma-3.11.1-java lib/puma/delegation.rb
puma-3.11.1 lib/puma/delegation.rb
puma-3.11.0-java lib/puma/delegation.rb
puma-3.11.0 lib/puma/delegation.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/delegation.rb
puma-3.10.0-java lib/puma/delegation.rb
puma-3.10.0 lib/puma/delegation.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb
tdiary-5.0.5 vendor/bundle/gems/puma-3.9.1/lib/puma/delegation.rb
tdiary-5.0.5 vendor/bundle/gems/puma-3.8.2/lib/puma/delegation.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/puma-3.8.2/lib/puma/delegation.rb
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/delegation.rb