class Pry::Method

def bound_method?

Returns:
  • (Boolean) - Whether the method is bound.
def bound_method?
  is_a?(::Method)
end