1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

remove warnings about un-initialised variables

This commit is contained in:
Jon Rowe 2013-08-11 15:31:02 +01:00
parent 2832ce3052
commit a7adb74d71

View file

@ -11,6 +11,7 @@ module Capybara::Webkit
attr_reader :port
def initialize(options = {})
@socket = nil
@socket_class = options[:socket_class] || TCPSocket
if options.has_key?(:stderr)
@output_target = options[:stderr]