aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-04-29 18:10:14 +0000
committerMarcel Molina <marcel@vernix.org>2006-04-29 18:10:14 +0000
commit61864909628f5ac2f20d3337e0274dab016ac7c5 (patch)
tree86a8cc11110b1009f23fe0c72a6138f8ac45d31a /actionmailer/lib
parentdf26041c8990d4a0276e7a4c77cc771ac38e176e (diff)
downloadrails-61864909628f5ac2f20d3337e0274dab016ac7c5.tar.gz
rails-61864909628f5ac2f20d3337e0274dab016ac7c5.tar.bz2
rails-61864909628f5ac2f20d3337e0274dab016ac7c5.zip
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/adv_attr_accessor.rb3
-rw-r--r--actionmailer/lib/action_mailer/helpers.rb4
2 files changed, 2 insertions, 5 deletions
diff --git a/actionmailer/lib/action_mailer/adv_attr_accessor.rb b/actionmailer/lib/action_mailer/adv_attr_accessor.rb
index 50afe4d742..cfd723011a 100644
--- a/actionmailer/lib/action_mailer/adv_attr_accessor.rb
+++ b/actionmailer/lib/action_mailer/adv_attr_accessor.rb
@@ -1,7 +1,6 @@
module ActionMailer
module AdvAttrAccessor #:nodoc:
- def self.append_features(base)
- super
+ def self.included(base)
base.extend(ClassMethods)
end
diff --git a/actionmailer/lib/action_mailer/helpers.rb b/actionmailer/lib/action_mailer/helpers.rb
index b53326ca72..ee7523a507 100644
--- a/actionmailer/lib/action_mailer/helpers.rb
+++ b/actionmailer/lib/action_mailer/helpers.rb
@@ -1,8 +1,6 @@
module ActionMailer
module Helpers #:nodoc:
- def self.append_features(base) #:nodoc:
- super
-
+ def self.included(base) #:nodoc:
# Initialize the base module to aggregate its helpers.
base.class_inheritable_accessor :master_helper_module
base.master_helper_module = Module.new