Sha256: ab9b1b4878c8c545ae4157444caa2c2b939da518cea25d9973fa9a94347fa334

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

class BCDD::Result
  class Config
    module PatternMatching
      OPTIONS = {
        nil_as_valid_value_checking: {
          default: false,
          affects: %w[BCDD::Result::Expectations BCDD::Context::Expectations]
        }
      }.transform_values!(&:freeze).freeze

      def self.switcher
        Switcher.new(options: OPTIONS)
      end
    end

    private_constant :PatternMatching
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bcdd-result-1.1.0 lib/bcdd/result/config/switchers/pattern_matching.rb
bcdd-result-1.0.0 lib/bcdd/result/config/switchers/pattern_matching.rb