rails--rails/actionmailbox/lib/action_mailbox/mail_ext.rb

7 lines
300 B
Ruby

# frozen_string_literal: true
require "mail"
# The hope is to upstream most of these basic additions to the Mail gem's Mail object. But until then, here they lay!
Dir["#{File.expand_path(File.dirname(__FILE__))}/mail_ext/*"].each { |path| require "action_mailbox/mail_ext/#{File.basename(path)}" }