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

18 lines
271 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module XPath
class Renderer
def join(*expressions)
expressions.join('/')
end
end
end
2019-03-19 14:39:34 -04:00
module XPath
module DSL
def join(*expressions)
XPath::Expression.new(:join, *[self, expressions].flatten)
end
end
end