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 #mime_type to the appropriate mime type of the file. See the example in EXAMPLES
# File lib/mechanize/form/file_upload.rb, line 15 def initialize node, file_name @file_name = Util.html_unescape(file_name) @file_data = nil @node = node super(node, @file_data) end