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:
parent
2832ce3052
commit
a7adb74d71
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue