From ff09c8cef9e017301b60e9cfb41ada4d42262336 Mon Sep 17 00:00:00 2001 From: Eddie Lebow Date: Thu, 20 Dec 2018 22:17:37 -0500 Subject: Clarify the :to parameter of delegate --- activesupport/lib/active_support/core_ext/module/delegation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') 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 - # * :to - Specifies the target object + # * :to - Specifies the target object name as a symbol or string # * :prefix - Prefixes the new method with the target name or a custom prefix # * :allow_nil - If set to true, prevents a +Module::DelegationError+ # from being raised -- cgit v1.2.3