method
new
rspec latest stable - Class:
Spec::Matchers::SimpleMatcher
new(description, &match_block)public
No documentation available.
# File lib/spec/matchers/simple_matcher.rb, line 6
def initialize(description, &match_block)
@description = description
@match_block = match_block
@failure_message = @negative_failure_message = nil
end