File: xpath.rb

package info (click to toggle)
ruby-xpath 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 140 kB
  • sloc: ruby: 847; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

require 'nokogiri'

require 'xpath/dsl'
require 'xpath/expression'
require 'xpath/literal'
require 'xpath/union'
require 'xpath/renderer'

module XPath
  extend XPath::DSL
  include XPath::DSL

  def self.generate
    yield(self)
  end
end