Parent

Methods

FlexMock::ProcMatcher

                                                                  

Match only things where the block evaluates to true.

Public Class Methods

new(&block) click to toggle source
    # File lib/flexmock/argument_matchers.rb, line 45
45:     def initialize(&block)
46:       @block = block
47:     end

Public Instance Methods

===(target) click to toggle source
    # File lib/flexmock/argument_matchers.rb, line 48
48:     def ===(target)
49:       @block.call(target)
50:     end
inspect() click to toggle source
    # File lib/flexmock/argument_matchers.rb, line 51
51:     def inspect
52:       "on{...}"
53:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.