# File lib/facet/harray.rb, line 119 def [](i,l=nil) if l i = i...i+l elsif ! i.kind_of?(Range) return self.at(i) end nha = HArray.new i.each { |j| nha.set(nha.length,get(j)) if has_key?(j) } nha end