lib/glue/mailer/outgoing.rb in glue-0.23.0 vs lib/glue/mailer/outgoing.rb in glue-0.24.0

- old
+ new

@@ -5,13 +5,11 @@ module OutgoingMailer # The root directory where the templates reside. attr_accessor :template_root - def self.included(base) - base.extend ClassMethods - end - + on_included %{ base.extend ClassMethods } + def initialize(from = nil, to = nil, subject = nil, body = FileTemplate.new) super @charset = Mailer.default_charset.dup @encode_subject = Mailer.encode_subject @template_root = Mailer.template_root