# File lib/hpricot/traverse.rb, line 46 def nodes_at(*pos) sib = parent.children i, si = 0, sib.index(self) Elements[* sib.select do |x| sel = case i - si when *pos true end i += 1 sel end ] end