method

to_proc

ruby latest stable - Class: Method
to_proc()
public

Returns a Proc object corresponding to this method.