Instance method defined on class?
class Dave
def monitor; end
end
Dave.method_defined?(:monitor)
=> true
Dave.method_defined?(:iareweasel)
=> false
class Dave
def monitor; end
end
Dave.method_defined?(:monitor)
=> true
Dave.method_defined?(:iareweasel)
=> false