1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/selector/xpath_extensions.rb
2019-03-20 11:32:33 -07:00

17 lines
271 B
Ruby

# frozen_string_literal: true
module XPath
class Renderer
def join(*expressions)
expressions.join('/')
end
end
end
module XPath
module DSL
def join(*expressions)
XPath::Expression.new(:join, *[self, expressions].flatten)
end
end
end