# File lib/www/mechanize.rb, line 355 def transact history_backup = @history.dup begin yield self ensure @history = history_backup end end