Module: Leftovers::MatcherBuilders::Unless

Defined in:
lib/leftovers/matcher_builders/unless.rb

Class Method Summary collapse

Class Method Details

.build(matcher) ⇒ Object



6
7
8
# File 'lib/leftovers/matcher_builders/unless.rb', line 6

def self.build(matcher)
  Matchers::Not.new(matcher) if matcher
end