method

inspect

v1_8_6_287 - Show latest stable - Class: UnboundMethod
inspect()
public

Show the name of the underlying method.

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