Method: Mutant::Integration.setup

Defined in:
lib/mutant/integration.rb

.setup(env) ⇒ Either<String, Integration>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Setup integration

Parameters:

Returns:



29
30
31
32
33
# File 'lib/mutant/integration.rb', line 29

def self.setup(env)
  attempt_require(env)
    .bind { attempt_const_get(env) }
    .fmap { |klass| klass.new(env.config).setup }
end