Parent

Files

Mocha::MethodMatcher

Attributes

expected_method_name[R]

Public Class Methods

new(expected_method_name) click to toggle source
   # File lib/mocha/method_matcher.rb, line 7
7:     def initialize(expected_method_name)
8:       @expected_method_name = expected_method_name
9:     end

Public Instance Methods

match?(actual_method_name) click to toggle source
    # File lib/mocha/method_matcher.rb, line 11
11:     def match?(actual_method_name)
12:       @expected_method_name == actual_method_name
13:     end
mocha_inspect() click to toggle source
    # File lib/mocha/method_matcher.rb, line 15
15:     def mocha_inspect
16:       "#{@expected_method_name}"
17:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.