# File lib/mocha/any_instance_method.rb, line 48 48: def method_exists?(method) 49: return true if stubbee.public_instance_methods(false).include?(method) 50: return true if stubbee.protected_instance_methods(false).include?(method) 51: return true if stubbee.private_instance_methods(false).include?(method) 52: return false 53: end