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


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

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)

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

def file?; true; end