method
parse

parse(path)
public
Hide source
# File lib/rexml/parsers/xpathparser.rb, line 20 def parse path path = path.dup path.gsub!(/([\(\[])\s+/, '\1') # Strip ignorable spaces path.gsub!( /\s+([\]\)])/, '\1') parsed = [] OrExpr(path, parsed) parsed end