1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

r3217@asus: jeremy | 2005-11-20 03:06:01 -0800

warnings-safe inherited alias for class_inheritable_attributes


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2005-11-21 07:29:17 +00:00
parent 3148216cbb
commit ddc863c134

View file

@ -110,8 +110,6 @@ class Class # :nodoc:
child.instance_variable_set('@inheritable_attributes', inheritable_attributes.dup)
end
if respond_to?(:inherited)
alias_method :inherited_without_inheritable_attributes, :inherited
end
alias_method :inherited, :inherited_with_inheritable_attributes
alias inherited_without_inheritable_attributes inherited
alias inherited inherited_with_inheritable_attributes
end