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-2.10.1-java lib/puma/delegation.rb
puma-2.10.1 lib/puma/delegation.rb
puma-2.10.0-java lib/puma/delegation.rb
puma-2.10.0 lib/puma/delegation.rb
wendell-puma-2.9.2 lib/puma/delegation.rb
rsense-server-0.5.18 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
puma-2.9.2-java lib/puma/delegation.rb
puma-2.9.2 lib/puma/delegation.rb
puma-2.9.1-java lib/puma/delegation.rb
puma-2.9.1 lib/puma/delegation.rb
puma-2.9.0-java lib/puma/delegation.rb
puma-2.9.0 lib/puma/delegation.rb
rsense-server-0.5.17 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.16 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.15 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.14 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.13 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.12 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.11 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb
rsense-server-0.5.10 vendor/gems/puma-2.8.2-java/lib/puma/delegation.rb