Class: JPath::Parser::Node

Inherits:
Step
  • Object
show all
Defined in:
lib/jpath/parser/step.rb

Direct Known Subclasses

Child, Descendant

Instance Attribute Summary

Attributes inherited from Step

#name, #predicates

Instance Method Summary collapse

Methods inherited from Step

#+, #<<, #initialize, #to_s, #wildcard?

Constructor Details

This class inherits a constructor from JPath::Parser::Step

Instance Method Details

#select(item, list) ⇒ Object



84
85
86
# File 'lib/jpath/parser/step.rb', line 84

def select(item, list)
  select_by_predicates item, select_by_name(list)
end