# File lib/www/mechanize/history.rb, line 43 def shift return nil if length == 0 page = self[0] self[0] = nil super remove_from_index(page) page end