Sha256: de8362fee5bd5228fe98e6a0f8a1438a5551aef24bb5989633ed6236a945edf5

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

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

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

    private_constant :PatternMatching
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solid-result-2.0.0 lib/solid/result/config/switchers/pattern_matching.rb