Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Suppress a warning: instance variable @label not initialized

lib/capybara/selector.rb:48: warning: instance variable @label not initialized
  • Loading branch information...
commit 599856f36b761304cfd29d1bb1ad01ca93b0cf96 1 parent 180f3dc
@kou kou authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/capybara/selector.rb
View
1  lib/capybara/selector.rb
@@ -21,6 +21,7 @@ def initialize(name, &block)
@name = name
@custom_filters = {}
@match = nil
+ @label = nil
@failure_message = nil
instance_eval(&block)
end
Please sign in to comment.
Something went wrong with that request. Please try again.