Sha256: c463776da133417f31d7e91c8c7081fca9705581aba87ceb94f1d5cab9d230a4

Contents?: true

Size: 197 Bytes

Versions: 26

Compression:

Stored size: 197 Bytes

Contents

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
puma-2.2.2-java lib/puma/delegation.rb
puma-2.2.2 lib/puma/delegation.rb
puma-2.2.1-java lib/puma/delegation.rb
puma-2.2.1 lib/puma/delegation.rb
puma-2.2.0-java lib/puma/delegation.rb
puma-2.2.0 lib/puma/delegation.rb
puma-2.1.1-java lib/puma/delegation.rb
puma-2.1.1 lib/puma/delegation.rb
puma-2.1.0-java lib/puma/delegation.rb
puma-2.1.0 lib/puma/delegation.rb
puma-2.0.1-java lib/puma/delegation.rb
puma-2.0.1 lib/puma/delegation.rb
puma-2.0.0-java lib/puma/delegation.rb
puma-2.0.0 lib/puma/delegation.rb
puma-2.0.0.b7-java lib/puma/delegation.rb
puma-2.0.0.b7 lib/puma/delegation.rb
puma-2.0.0.b6 lib/puma/delegation.rb
puma-2.0.0.b5 lib/puma/delegation.rb
puma-2.0.0.b4-java lib/puma/delegation.rb
puma-2.0.0.b4 lib/puma/delegation.rb