Initialize instance variable

This commit is contained in:
Thomas Walpole 2019-04-23 13:46:43 -07:00
parent 6558e29fc7
commit 2e87e7f5c9
1 changed files with 5 additions and 0 deletions

View File

@ -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