Sha256: 53aa245834b596538c1e8193ebb34cfe6acb6aaca2be3ba3edf6560099e925a8

Contents?: true

Size: 228 Bytes

Versions: 17

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module Leftovers
  module MatcherBuilders
    module Unless
      def self.build(matcher)
        return unless matcher

        ::Leftovers::Matchers::Not.new(matcher)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
leftovers-0.11.1 lib/leftovers/matcher_builders/unless.rb
leftovers-0.11.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.10.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.9.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.8.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.7.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.6.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.5 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.4 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.3 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.2 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.1 lib/leftovers/matcher_builders/unless.rb
leftovers-0.5.0 lib/leftovers/matcher_builders/unless.rb
leftovers-0.4.3 lib/leftovers/matcher_builders/unless.rb
leftovers-0.4.2 lib/leftovers/matcher_builders/unless.rb
leftovers-0.4.1 lib/leftovers/matcher_builders/unless.rb
leftovers-0.4.0 lib/leftovers/matcher_builders/unless.rb