Initialize instance variable
This commit is contained in:
parent
6558e29fc7
commit
2e87e7f5c9
|
@ -3,6 +3,11 @@
|
|||
module Capybara
|
||||
module Selenium
|
||||
module DeprecationSuppressor
|
||||
def initialize(*)
|
||||
@suppress_for_capybara = false
|
||||
super
|
||||
end
|
||||
|
||||
def deprecate(*)
|
||||
super unless @suppress_for_capybara
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue