diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-21 17:32:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 17:32:47 +0900 |
commit | 07235ec37130437cb97c90e14fc8d990f46e4024 (patch) | |
tree | 30f8ed77321e6ad7dcc3d30a3598cfb277b7d92c /activesupport | |
parent | 1d21ad9c46b833d463cb1bb9fb593c6106f0e44a (diff) | |
parent | ff09c8cef9e017301b60e9cfb41ada4d42262336 (diff) | |
download | rails-07235ec37130437cb97c90e14fc8d990f46e4024.tar.gz rails-07235ec37130437cb97c90e14fc8d990f46e4024.tar.bz2 rails-07235ec37130437cb97c90e14fc8d990f46e4024.zip |
Merge pull request #34769 from elebow/module-delegate-to-docstring
Module.delegate rdoc update to clarify :to parameter [ci skip]
Diffstat (limited to 'activesupport')
-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 3128539112..be90390ae4 100644 --- a/activesupport/lib/active_support/core_ext/module/delegation.rb +++ b/activesupport/lib/active_support/core_ext/module/delegation.rb @@ -19,7 +19,7 @@ class Module # public methods as your own. # # ==== Options - # * <tt>:to</tt> - Specifies the target object + # * <tt>:to</tt> - Specifies the target object name as a symbol or string # * <tt>:prefix</tt> - Prefixes the new method with the target name or a custom prefix # * <tt>:allow_nil</tt> - If set to true, prevents a +Module::DelegationError+ # from being raised |