# File lib/facet/harray.rb, line 180 def collect! nha = HArray.new (0...self.length).each { |i| nha << yield(self.fetch(i)) } self.replace(nha) end