aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-04-09 20:07:12 +0930
committerMatthew Draper <matthew@trebex.net>2017-04-09 20:07:12 +0930
commitd928126725c5bc0019f0777e725e6c36f28dcb3e (patch)
tree13aa29336b5e872436494faa89550c613575eb97 /activesupport/lib/active_support/core_ext/module
parent071882e8ef6835cec7eb4e6ff965b99f4563b7aa (diff)
downloadrails-d928126725c5bc0019f0777e725e6c36f28dcb3e.tar.gz
rails-d928126725c5bc0019f0777e725e6c36f28dcb3e.tar.bz2
rails-d928126725c5bc0019f0777e725e6c36f28dcb3e.zip
delegate_missing_to should fall back to super
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r--activesupport/lib/active_support/core_ext/module/delegation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb
index ee2c3f54d1..85ab739095 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -270,7 +270,7 @@ class Module
# It may look like an oversight, but we deliberately do not pass
# +include_private+, because they do not get delegated.
- #{target}.respond_to?(name)
+ #{target}.respond_to?(name) || super
end
def method_missing(method, *args, &block)