# File lib/capybara/xpath.rb, line 19 def wrap(path) if path.is_a?(self) path else new(path.to_s) end end