Method: Web2Go::MockRequest#uploaded_file
- Defined in:
- lib/Web2Go/MockRequest.rb
#uploaded_file(name, pos = 0) ⇒ Object
84 85 86 87 88 89 90 |
# File 'lib/Web2Go/MockRequest.rb', line 84 def uploaded_file(name,pos=0) file = @uploaded_files[name] if !file.nil? then return file[pos] end nil end |