diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-12-28 20:53:58 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-12-28 20:53:58 +0100 |
commit | 0efec64520d5153e5a961f9a759883656b83bb53 (patch) | |
tree | 31bc504daa1318cb73659e7df01c8ab885e3495f /activesupport/lib/active_support/core_ext/module/delegation.rb | |
parent | 66ee5890c5f21995b7fe0c486547f1287afe2b55 (diff) | |
parent | a2270ef2594b97891994848138614657363f2806 (diff) | |
download | rails-0efec64520d5153e5a961f9a759883656b83bb53.tar.gz rails-0efec64520d5153e5a961f9a759883656b83bb53.tar.bz2 rails-0efec64520d5153e5a961f9a759883656b83bb53.zip |
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/delegation.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/delegation.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb index 5c75bd4938..fb4b5f0f3c 100644 --- a/activesupport/lib/active_support/core_ext/module/delegation.rb +++ b/activesupport/lib/active_support/core_ext/module/delegation.rb @@ -112,9 +112,9 @@ class Module methods.each do |method| module_eval(<<-EOS, "(__DELEGATION__)", 1) - def #{prefix}#{method}(*args, &block) - #{allow_nil}#{to}.__send__(#{method.inspect}, *args, &block) - end + def #{prefix}#{method}(*args, &block) # def customer_name(*args, &block) + #{allow_nil}#{to}.__send__(#{method.inspect}, *args, &block) # client && client.__send__(:name, *args, &block) + end # end EOS end end |