suppress a warning:
lib/capybara/selector.rb:54: warning: instance variable @match not initialized
This commit is contained in:
parent
2a9a968d8b
commit
be895c07f4
|
@ -20,6 +20,7 @@ module Capybara
|
|||
def initialize(name, &block)
|
||||
@name = name
|
||||
@custom_filters = {}
|
||||
@match = nil
|
||||
instance_eval(&block)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue