mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Not ants were harmed! 🐜
This commit is contained in:
parent
b9661c786a
commit
3f79ee4862
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue