Forum: Ruby WWW:Mechanize history

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
narf968 (Guest)
on 2005-12-09 17:08
(Received via mailing list)
Hi!

Anyone know if there is a way to tell mechanize not to save a history?

Or maybe how to nil-ify?

I am saving a mechanize agent using yaml and I don't need all that
extra history.
narf968 (Guest)
on 2005-12-09 17:20
(Received via mailing list)
Ok, that was easy.

I can just set @history = [] before I save it.

I was looking for a history= method or something.
This topic is locked and can not be replied to.