diff options
author | Xavier Noria <fxn@hashref.com> | 2009-05-31 01:18:34 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-05-31 01:18:34 +0200 |
commit | 370cdd2d80a0700065af5996389ef6a81cad1184 (patch) | |
tree | aa6e7aa0523c033b1fbb105cfdec905f148f45bc /railties/guides/source | |
parent | a5394c93133adf3b945aa4418a0aaa4bb60342e9 (diff) | |
download | rails-370cdd2d80a0700065af5996389ef6a81cad1184.tar.gz rails-370cdd2d80a0700065af5996389ef6a81cad1184.tar.bz2 rails-370cdd2d80a0700065af5996389ef6a81cad1184.zip |
just a typo
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/active_support_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index 30c896b5c5..4b3e533e7a 100644 --- a/railties/guides/source/active_support_overview.textile +++ b/railties/guides/source/active_support_overview.textile @@ -95,7 +95,7 @@ end Since values are copied when a subclass is defined, if the base class changes the attribute after that, the subclass does not see the new value. That's the point. -There's a related macro called +superclass_delegating_accessor+, however, that does not copy the value when the base class is subclassed. Instead, it delegates reading to the superclass as long as the attribute is not set via its own writer. For example, +ActionMailer::Base+ defined +delivery_method+ this way: +There's a related macro called +superclass_delegating_accessor+, however, that does not copy the value when the base class is subclassed. Instead, it delegates reading to the superclass as long as the attribute is not set via its own writer. For example, +ActionMailer::Base+ defines +delivery_method+ this way: <ruby> module ActionMailer |