Module: Lab42::Forwarder3::Implementation

Extended by:
Implementation
Included in:
Implementation
Defined in:
lib/lab42/forwarder3/implementation.rb

Instance Method Summary collapse

Instance Method Details

#define_forwarder(mthd_name, to:, as:, receiver:) ⇒ Object



4
5
6
# File 'lib/lab42/forwarder3/implementation.rb', line 4

def define_forwarder(mthd_name, to:, as:, receiver:)
  receiver.def_delegator to, as, mthd_name 
end