lib/ahoy_email/mailer.rb in ahoy_email-0.4.0 vs lib/ahoy_email/mailer.rb in ahoy_email-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
module AhoyEmail
module Mailer
def self.included(base)
base.extend ClassMethods
- base.prepend InstanceMethods
+ base.send(:prepend, InstanceMethods)
base.class_eval do
attr_accessor :ahoy_options
class_attribute :ahoy_options
self.ahoy_options = {}
end