file_upload.rb

Path: lib/mechanize/form/file_upload.rb
Last Update: Tue Sep 25 16:34:49 +0000 2012

This class represents a file upload field found in a form. To use this class, set FileUpload#file_data= to the data of the file you want to upload and FileUpload#mime_type= to the appropriate mime type of the file.

See the example in EXAMPLES

[Validate]