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

Inherits:
MimePart show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/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

Methods inherited from Struct

#as_json

Instance Method Details

#closeObject



115
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart/parser.rb', line 115

def close; body.close; end

#file?Boolean

Returns:

  • (Boolean)


114
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/multipart/parser.rb', line 114

def file?; true; end