Sha256: e4b890f1817b7b1a3ef25cadd13b1587d70b1951cf7f38ea4b69050b9f1cb6a2
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
module Axlsx # This module defines some utils related with mime type detection module MimeTypeUtils # Detect a file mime type # @param [String] v File path # @return [String] File mime type def self.get_mime_type(v) Marcel::MimeType.for(Pathname.new(v)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.2.0 | lib/axlsx/util/mime_type_utils.rb |