method

inspect

v1_9_3_125 - Show latest stable - Class: Method
inspect()
public

Returns the name of the underlying method.

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