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`.



42
43
44
# File 'lib/contracts/method_reference.rb', line 42

def send_to(this, *args, &blk)
  this.send(aliased_name, *args, &blk)
end