module Shrine::Plugins::DetermineMimeType::ClassMethods
Defined in:
shrine/plugins/determine_mime_type.crInstance Method Summary
-
#determine_mime_type(io)
Determines the MIME type of the IO object by calling the specified analyzer.
-
#mime_type_analyzer(name : Tools)
Returns callable mime type analyzer object.
-
#mime_type_analyzers
Returns a hash of built-in MIME type analyzers, where keys are analyzer names and values are
#call
-able objects which accepts the IO object.
Instance Method Detail
def determine_mime_type(io)
#
Determines the MIME type of the IO object by calling the specified analyzer.
def mime_type_analyzers
#
Returns a hash of built-in MIME type analyzers, where keys are
analyzer names and values are #call
-able objects which accepts the
IO object.