mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
26a1ab2e14
This commit standardizes on the use of `block` over `blk`. I found the usage of both in the code.
11 lines
201 B
Ruby
11 lines
201 B
Ruby
module Puma
|
|
module Delegation
|
|
def forward(what, who)
|
|
module_eval <<-CODE
|
|
def #{what}(*args, &block)
|
|
#{who}.#{what}(*args, &block)
|
|
end
|
|
CODE
|
|
end
|
|
end
|
|
end
|