Method: Contracts::MethodReference#send_to
- Defined in:
- lib/contracts/method_reference.rb
#send_to(this, *args, &blk) ⇒ Object
Calls original method on specified this argument with specified arguments args and block ‘&blk`.
45 46 47 |
# File 'lib/contracts/method_reference.rb', line 45 def send_to(this, *args, &blk) this.send(aliased_name, *args, &blk) end |