# File lib/mocha/module_method.rb, line 7 7: def method_exists?(method) 8: return true if stubbee.public_methods(false).include?(method) 9: return true if stubbee.protected_methods(false).include?(method) 10: return true if stubbee.private_methods(false).include?(method) 11: return false 12: end