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



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

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)


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

def file?; true; end