Class: Rack::Multipart::Parser::Collector::TempfilePart

Inherits:
MimePart
  • Object
show all
Defined in:
lib/rack/multipart/parser.rb

Instance Attribute Summary

Attributes inherited from MimePart

#body, #content_type, #filename, #head, #name

Instance Method Summary collapse

Methods inherited from MimePart

#get_data

Instance Method Details

#closeObject



143
# File 'lib/rack/multipart/parser.rb', line 143

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)


142
# File 'lib/rack/multipart/parser.rb', line 142

def file?; true; end