aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-08-15 16:07:49 +0100
committerJon Leighton <j@jonathanleighton.com>2011-08-15 16:07:49 +0100
commit2e2f3f5a469cb441e52fb161647ea5fd27d98d81 (patch)
tree8e5dc08cd018c2be3aac5c78ceb72e0befc9713b /activesupport/lib/active_support/core_ext/module
parent57423d815b3747aa382cd3859a15bffa538525ad (diff)
downloadrails-2e2f3f5a469cb441e52fb161647ea5fd27d98d81.tar.gz
rails-2e2f3f5a469cb441e52fb161647ea5fd27d98d81.tar.bz2
rails-2e2f3f5a469cb441e52fb161647ea5fd27d98d81.zip
Add a test for delegating a method ending in '=' as this is a special case.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r--activesupport/lib/active_support/core_ext/module/delegation.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb
index 72988fa6b5..4a899a7d84 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/object/public_send'
+
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)