summaryrefslogtreecommitdiff
path: root/lib/mime/types/loader_path.rb
blob: bfbcc178025707749c23b834a25227ab0d2f90d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- ruby encoding: utf-8 -*-

class MIME::Types::Loader
  # 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 library.
  #
  # The MIME::Types::Loader will load all YAML files contained in this path.
  # By convention, there is one file for each media type (e.g.,
  # application.yml, audio.yml, etc.).
  #
  # System repackagers note: this is the constant that you would change if
  # you repackage mime-types for your system. It is recommended that the
  # path be something like /usr/share/ruby/mime-types/.
  PATH = nil
end