Module: XPath

Extended by:
DSL
Includes:
DSL
Defined in:
lib/xpath.rb,
lib/xpath/dsl.rb,
lib/xpath/union.rb,
lib/xpath/literal.rb,
lib/xpath/version.rb,
lib/xpath/renderer.rb,
lib/xpath/expression.rb

Defined Under Namespace

Modules: DSL Classes: Expression, Literal, Renderer, Union

Constant Summary collapse

VERSION =
'3.2.0'

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Class Method Summary collapse

Methods included from DSL

anywhere, attr, axis, binary_operator, child, contains_word, css, current, descendant, ends_with, function, is, last, lowercase, method, next_sibling, one_of, position, previous_sibling, qname, text, union, uppercase, where

Class Method Details

.generate {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (XPath)

    the object that the method was called on



15
16
17
# File 'lib/xpath.rb', line 15

def self.generate
  yield(self)
end