class Gammo::XPath::AST::Axis::Descendant
Public Instance Methods
strain(context, context_node, node_set)
click to toggle source
# File lib/gammo/xpath/ast/axis.rb, line 111 def strain(context, context_node, node_set) return if context_node.instance_of?(Gammo::Attribute) context_node.each_descendant do |node| node_set << node if node_test.match?(node) end end