diff options
author | Mario Uher <uher.mario@gmail.com> | 2017-02-14 12:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 12:05:21 +0100 |
commit | 3f79ee48622af1ae2b4e9eb66cf21da5b08b6b3a (patch) | |
tree | 9e7c2408706c074badec11e475beef1c13579fe8 | |
parent | b9661c786a6dd5322659af35944731e82118baa7 (diff) | |
download | rails-3f79ee48622af1ae2b4e9eb66cf21da5b08b6b3a.tar.gz rails-3f79ee48622af1ae2b4e9eb66cf21da5b08b6b3a.tar.bz2 rails-3f79ee48622af1ae2b4e9eb66cf21da5b08b6b3a.zip |
Not ants were harmed! 🐜
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/delegation.rb | 2 |
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) |