Module: MIME::Types::Data
- Defined in:
- lib/mime/types/data.rb
Constant Summary collapse
- VERSION =
"3.2024.1203"
- PATH =
The path that will be used for loading the MIME::Types data. The default location is __FILE__/../../../../data, which is where the data lives in the gem installation of the mime-types-data library.
The MIME::Types::Loader will load all JSON or columnar files contained in this path.
System maintainer note: this is the constant to change when packaging mime-types for your system. It is recommended that the path be something like /usr/share/ruby/mime-types/.
File.("../../../../data", __FILE__)