Class: WWW::Mechanize::Form::FileUpload

Class | WWW::Mechanize::Form::FileUpload
In: | lib/www/mechanize/form/file_upload.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

new(name, file_name)

[Validate]