Method: Pry::Method#name

Defined in:
lib/pry/method.rb

#nameString

Get the name of the method as a String, regardless of the underlying Method#name type.

Returns:

  • (String)


272
273
274
# File 'lib/pry/method.rb', line 272

def name
  @method.name.to_s
end