aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-21 23:47:05 +0100
committerXavier Noria <fxn@hashref.com>2010-01-21 23:47:05 +0100
commit6d70b93450993d44f88aa5d389d17cc231fcd999 (patch)
treeb057bf4778cb50d0346f1d1a1f100971290b4eae /activesupport/lib/active_support
parent32eea7a157e6c9df83e7c9cac35b683b864d8bc6 (diff)
downloadrails-6d70b93450993d44f88aa5d389d17cc231fcd999.tar.gz
rails-6d70b93450993d44f88aa5d389d17cc231fcd999.tar.bz2
rails-6d70b93450993d44f88aa5d389d17cc231fcd999.zip
a hash has no final key
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/module/delegation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb
index df8aefea5a..c3f66d8ac1 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -1,8 +1,8 @@
class Module
# Provides a delegate class method to easily expose contained objects' methods
# as your own. Pass one or more methods (specified as symbols or strings)
- # and the name of the target object as the final <tt>:to</tt> option (also a symbol
- # or string). At least one method and the <tt>:to</tt> option are required.
+ # and the name of the target object via the <tt>:to</tt> option (also a symbol
+ # or string). At least one method and the <tt>:to</tt> option are required.
#
# Delegation is particularly useful with Active Record associations:
#