Module: Ramcrest::IncludesExactly
- Defined in:
- lib/ramcrest/includes_exactly.rb
Defined Under Namespace
Classes: Matcher
Class Method Summary collapse
Class Method Details
.includes_exactly(*expected) ⇒ Object
7 8 9 10 |
# File 'lib/ramcrest/includes_exactly.rb', line 7 def includes_exactly(*expected) expected_matchers = expected.collect(&Ramcrest::EqualTo.method(:to_matcher)) Matcher.new(expected_matchers) end |