# File lib/hashery/sparsearray.rb, line 47 def &(ha) nha = self.class.new (0..self.length-1).each do |i| if ha.has_value?(self.fetch(i)) and !nha.has_value?(self.fetch(i)) nha.set(nha.length,self.fetch(i)) end end nha end