Module: Ramcrest::MatcherMatcher

Defined in:
lib/ramcrest/matcher_matcher.rb

Defined Under Namespace

Classes: MatcherDescribedAsMatcher, MatcherThatMatchesMatcher, MatcherThatMismatchesMatcher

Class Method Summary collapse

Class Method Details

.a_matcher_described_as(description) ⇒ Object



10
11
12
# File 'lib/ramcrest/matcher_matcher.rb', line 10

def a_matcher_described_as(description)
  MatcherDescribedAsMatcher.new(description)
end

.a_matcher_that_matches(value) ⇒ Object



6
7
8
# File 'lib/ramcrest/matcher_matcher.rb', line 6

def a_matcher_that_matches(value)
  MatcherThatMatchesMatcher.new(value)
end

.a_matcher_that_mismatches(value, description) ⇒ Object



14
15
16
# File 'lib/ramcrest/matcher_matcher.rb', line 14

def a_matcher_that_mismatches(value, description)
  MatcherThatMismatchesMatcher.new(value, description)
end