Methods

Files

Mocha::ModuleMethod

Public Instance Methods

method_exists?(method) click to toggle source
    # 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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.