Skip to content

Commit

Permalink
Avoid circular require when you do require 'mime/types/columnar'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed May 25, 2015
1 parent e427f1c commit eaeb3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mime/types/loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def load_json
# Loads a MIME::Types registry from columnar files recursively found in
# +path+.
def load_columnar
require 'mime/types/columnar'
require 'mime/types/columnar' unless defined?(MIME::Types::Columnar)
container.extend(MIME::Types::Columnar)
container.load_base_data(path)

Expand Down

0 comments on commit eaeb3b6

Please sign in to comment.