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.13.0-java lib/puma/delegation.rb
puma-2.13.0 lib/puma/delegation.rb
puma-2.12.3-java lib/puma/delegation.rb
puma-2.12.3 lib/puma/delegation.rb
puma-2.12.2-java lib/puma/delegation.rb
puma-2.12.2 lib/puma/delegation.rb
puma-2.12.1-java lib/puma/delegation.rb
puma-2.12.1 lib/puma/delegation.rb
puma-2.12.0-java lib/puma/delegation.rb
puma-2.12.0 lib/puma/delegation.rb
puma-2.11.3-java lib/puma/delegation.rb
puma-2.11.3 lib/puma/delegation.rb
puma-2.11.2-java lib/puma/delegation.rb
puma-2.11.2 lib/puma/delegation.rb
puma-2.11.1-java lib/puma/delegation.rb
puma-2.11.1 lib/puma/delegation.rb
puma-2.11.0-java lib/puma/delegation.rb
puma-2.11.0 lib/puma/delegation.rb
puma-2.10.2-java lib/puma/delegation.rb
puma-2.10.2 lib/puma/delegation.rb