Class

ActionController::TestUploadedFile

Inheritance
< Object

Attributes

Name Visibility R/W Description
content_type public RW The content type of the "uploaded" file
original_filename public R The filename, not including the path, of the "uploaded" file

Aliases

Method Alias Description
path → local_path

Methods

Class

Visibility Signature
public new (path, content_type = Mime::TEXT, binary = false)

Class Method Detail

new(path, content_type = Mime::TEXT, binary = false)