Class WWW::Mechanize::FileUpload
In: lib/mechanize/form_elements.rb
Parent: Field

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

Methods

new  

External Aliases

value -> file_data
value= -> file_data=

Attributes

file_name  [RW] 
mime_type  [RW] 

Public Class methods

[Validate]