Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 232 Bytes
# frozen_string_literal: true
module Puma
module Delegation
def forward(what, who)
module_eval <<-CODE
def #{what}(*args, &block)
#{who}.#{what}(*args, &block)
end
CODE
end
end
end
You can’t perform that action at this time.