Method: RSpec::Daemon::Configuration#ensure_configuration_setter!

Defined in:
lib/rspec/daemon/configuration.rb

#ensure_configuration_setter!Object


58
59
60
61
62
63
64
65
66
# File 'lib/rspec/daemon/configuration.rb', line 58

def ensure_configuration_setter!
  return if RSpec.respond_to?(:configuration=)

  RSpec.instance_eval do
    def self.configuration=(value)
      @configuration = value
    end
  end
end