Method: Pry::Method#==

Defined in:
lib/pry/method.rb

#==(other) ⇒ Boolean

Returns:

  • (Boolean)


483
484
485
486
487
# File 'lib/pry/method.rb', line 483

def ==(other)
  return other == @method if other.is_a?(Pry::Method)

  @method == other
end