File: xpath.rb

package info (click to toggle)
ruby-xpath 2.0.0-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 180 kB
  • sloc: ruby: 993; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'nokogiri'

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

module XPath

  extend XPath::DSL::TopLevel
  include XPath::DSL::TopLevel

  def self.generate
    yield(self)
  end
end