Class: FlexMock::ProcMatcher
- Defined in:
- lib/gems/flexmock-0.8.3/lib/flexmock/argument_matchers.rb
Overview
Match only things where the block evaluates to true.
Instance Method Summary collapse
- #===(target) ⇒ Object
-
#initialize(&block) ⇒ ProcMatcher
constructor
A new instance of ProcMatcher.
- #inspect ⇒ Object
Constructor Details
#initialize(&block) ⇒ ProcMatcher
Returns a new instance of ProcMatcher.
45 46 47 |
# File 'lib/gems/flexmock-0.8.3/lib/flexmock/argument_matchers.rb', line 45 def initialize(&block) @block = block end |