method

inspect

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

Show the name of the underlying method.

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