Module: Puma::Delegation
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 " def \#{what}(*args, &block)\n \#{who}.\#{what}(*args, &block)\n end\n CODE\nend\n" |