Skip to content

Commit

Permalink
Require the master encodings module first, to allow
Browse files Browse the repository at this point in the history
  the others to register when included
  • Loading branch information
pzb committed Mar 10, 2010
1 parent 72b418c commit 1744d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mail.rb
Expand Up @@ -102,6 +102,7 @@ module Mail # :doc:
end

# Load in all transfer encodings
require "mail/encodings/encodings"
elems = Dir.glob(File.join(File.dirname(__FILE__), 'mail', 'encodings', '*.rb'))
elems.each do |elem|
require "mail/encodings/#{File.basename(elem, '.rb')}"
Expand Down

0 comments on commit 1744d57

Please sign in to comment.