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



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

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)


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

def file?; true; end