method

to_s

v2_2_9 - Show latest stable - Class: Method
to_s()
public

Returns the name of the underlying method.

"cat".method(:count).inspect   #=> "#<Method: String#count>"