suppress a warning:

lib/capybara/selector.rb:54: warning: instance variable @match not initialized
This commit is contained in:
Kouhei Sutou 2012-01-08 22:50:41 +09:00
parent 2a9a968d8b
commit be895c07f4
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ module Capybara
def initialize(name, &block)
@name = name
@custom_filters = {}
@match = nil
instance_eval(&block)
end