aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-02-14 16:37:36 +0530
committerGitHub <noreply@github.com>2017-02-14 16:37:36 +0530
commita778a0d91fd662d5efa8e548c40b6c79f7e921fc (patch)
tree9e7c2408706c074badec11e475beef1c13579fe8 /activesupport
parentb9661c786a6dd5322659af35944731e82118baa7 (diff)
parent3f79ee48622af1ae2b4e9eb66cf21da5b08b6b3a (diff)
downloadrails-a778a0d91fd662d5efa8e548c40b6c79f7e921fc.tar.gz
rails-a778a0d91fd662d5efa8e548c40b6c79f7e921fc.tar.bz2
rails-a778a0d91fd662d5efa8e548c40b6c79f7e921fc.zip
Merge pull request #27996 from ream88/patch-1
Not ants were harmed! 🐜 [ci skip]
Diffstat (limited to 'activesupport')
-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 d82758e40d..cdf27f49ad 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -260,7 +260,7 @@ class Module
# end
#
# The target can be anything callable within the object. E.g. instance
- # variables, methods, constants ant the likes.
+ # variables, methods, constants and the likes.
def delegate_missing_to(target)
target = target.to_s
target = "self.#{target}" if DELEGATION_RESERVED_METHOD_NAMES.include?(target)