Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
shrine
v0.6.5
Shrine
Attacher
ClassMethods
InstanceMethods
ClassMethods
Error
FileNotFound
HabitatSettings
InstanceMethods
InvalidFile
NotCached
Plugins
AddMetadata
InstanceMethods
Column
AttacherClassMethods
AttacherMethods
BaseSerializer
JsonSerializer
DetermineMimeType
ClassMethods
InstanceMethods
MimeTypeAnalyzer
Tools
StoreDimensions
ClassMethods
DimensionsAnalyzer
FileMethods
IdentifyAnalyzer
InstanceMethods
Tools
PluginSettings
Storage
Base
FileSystem
Memory
S3
UploadedFile
Mapper
MetadataType
Built with Crystal 1.9.2
2023-10-07 22:19:44 UTC
class
Shrine::Plugins::DetermineMimeType::MimeTypeAnalyzer
Shrine::Plugins::DetermineMimeType::MimeTypeAnalyzer
Reference
Object
Defined in:
shrine/plugins/determine_mime_type.cr
Constructors
.new
(tool : Tools)
Instance Method Summary
#call
(io, **options)
#extract_filename
(io)
#extract_with_content_type
(io, options)
Constructor Detail
def self.
new
(tool :
Tools
)
#
[
View source
]
Instance Method Detail
def
call
(io, **options)
#
[
View source
]
def
extract_filename
(io)
#
[
View source
]
def
extract_with_content_type
(io, options)
#
[
View source
]