Module: Puma::Delegation
- Included in:
- Server
- Defined in:
- lib/puma/delegation.rb
Instance Method Summary collapse
Instance Method Details
#forward(what, who) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/puma/delegation.rb', line 3 def forward(what, who) module_eval <<-CODE def #{what}(*args, &blk) #{who}.#{what}(*args, &blk) end CODE end |