Sha256: 70e46dd11ec231dd41bba1d1f41505e405a857b79fed6b482eb4d828e61bd515

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

class Solid::Result
  class Config
    module Addons
      AFFECTS = %w[
        Solid::Result.mixin
        Solid::Output.mixin
        Solid::Result::Expectations.mixin
        Solid::Output::Expectations.mixin
      ].freeze

      OPTIONS = {
        continue: { default: false, affects: AFFECTS },
        given: { default: true, affects: AFFECTS }
      }.transform_values!(&:freeze).freeze

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

    private_constant :Addons
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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