Sha256: 461adf261023b4d0b460fd72a89b0c02121c3cd3e402df8721492b1435515e1c

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/rspec/setup'

module EacRubyUtils
  module Rspec
    class << self
      def default_setup
        @default_setup ||
          raise("Default instance was not set. Use #{self.class.name}.default_setup_create")
      end

      def default_setup_create(app_root_path, rspec_config = nil)
        @default_setup = ::EacRubyUtils::Rspec::Setup.create(app_root_path, rspec_config)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
eac_ruby_utils-0.71.0 lib/eac_ruby_utils/rspec/default_setup.rb
ehbrs-tools-0.24.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb
eac_ruby_utils-0.70.0 lib/eac_ruby_utils/rspec/default_setup.rb