Method: Mechanize#shutdown

Defined in:
lib/mechanize.rb

#shutdownObject

Shuts down this session by clearing browsing state and closing all persistent connections.



1333
1334
1335
1336
# File 'lib/mechanize.rb', line 1333

def shutdown
  reset
  @agent.shutdown
end