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



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

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)


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

def file?; true; end