clear okay
149 150 151 152 153
# File 'lib/carat/harray.rb', line 149 def collect nha = HArray.new (0...self.length).each { |i| nha << yield(self.fetch(i)) } nha end