search( ypath_str )
public
Search for YPath entry and return a list of
qualified paths.
# File lib/yaml/basenode.rb, line 55
def search( ypath_str )
matches = match_path( ypath_str )
if matches
matches.collect { |m|
path = []
m.each_index { |i|
path.push m[i] if ( i % 2 ).zero?
}
"/" + path.compact.join( "/" )
}
end
end