Method: RSpecConsole::ConfigCache#ensure_configuration_setter!

Defined in:
lib/rspec-console/config_cache.rb

#ensure_configuration_setter!Object



98
99
100
101
102
103
104
105
106
# File 'lib/rspec-console/config_cache.rb', line 98

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

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