Sha256: b92ba03bdaa01ec0d43216ae35700ddac73ad42940ab58ba999a730bc19b576c

Contents?: true

Size: 271 Bytes

Versions: 69

Compression:

Stored size: 271 Bytes

Contents

# 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

Version data entries

69 entries across 56 versions & 5 rubygems

Version Path
capybara-3.32.2 lib/capybara/selector/xpath_extensions.rb
capybara-3.32.1 lib/capybara/selector/xpath_extensions.rb
capybara-3.32.0 lib/capybara/selector/xpath_extensions.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/capybara-3.31.0/lib/capybara/selector/xpath_extensions.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb
capybara-3.31.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.30.0 lib/capybara/selector/xpath_extensions.rb
tdiary-5.1.0 vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selector/xpath_extensions.rb
capybara-3.29.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.28.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.27.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.26.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.25.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.24.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.23.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.22.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.21.0 lib/capybara/selector/xpath_extensions.rb
capybara-3.20.2 lib/capybara/selector/xpath_extensions.rb