# File lib/mega/harray.rb, line 414 def shift e1 = self[0] tl = self.length - 1 (1..tl).each { |i| self.set(i-1,self.fetch(i)) } self.delete_at(tl) e1 end