Method: WebMock::NetHTTPUtility.puts_warning_for_right_http_if_needed

Defined in:
lib/webmock/http_lib_adapters/net_http.rb

.puts_warning_for_right_http_if_neededObject



301
302
303
304
305
# File 'lib/webmock/http_lib_adapters/net_http.rb', line 301

def self.puts_warning_for_right_http_if_needed
  if !@was_right_http_connection_loaded && defined?(RightHttpConnection)
    $stderr.puts "\nWarning: RightHttpConnection has to be required before WebMock is required !!!\n"
  end
end