Class: Rack::Test::UploadedFile

Class | Rack::Test::UploadedFile
In: | lib/rack/test/uploaded_file.rb
Parent: | Object

### Methods

local_path new path

### Attributes

content_type | [RW] | The content type of the "uploaded" file
original_filename | [R] | The filename, not including the path, of the "uploaded" file

### Public Class methods

new(path, content_type = "text/plain", binary = false)

### Public Instance methods

local_path()

Alias for path

path()

[Validate]