Methods

Class/Module Index [+]

Quicksearch

Mocha::ModuleMethod

Public Instance Methods

method_exists?(method) click to toggle source
# File lib/mocha/module_method.rb, line 7
def method_exists?(method)
  return true if stubbee.public_methods(false).include?(method)
  return true if stubbee.protected_methods(false).include?(method)
  return true if stubbee.private_methods(false).include?(method)
  return false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.