# File lib/mocha/any_instance_method.rb, line 53 53: def method_exists?(method) 54: return true if stubbee.public_instance_methods(false).include?(method) 55: return true if stubbee.protected_instance_methods(false).include?(method) 56: return true if stubbee.private_instance_methods(false).include?(method) 57: return false 58: end