method

call

v1_8_7_72 - Show latest stable - Class: Method
call(...)
public

Invokes the meth with the specified arguments, returning the method’s return value.

   m = 12.method("+")
   m.call(3)    #=> 15
   m.call(20)   #=> 32