Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ci skip] Add :private option to delegation doc
  • Loading branch information
yhirano55 committed Apr 4, 2018
1 parent f815e77 commit f0faa86
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -22,8 +22,9 @@ class DelegationError < NoMethodError; end
# ==== Options
# * <tt>:to</tt> - Specifies the target object
# * <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+
# * <tt>:allow_nil</tt> - If set to true, prevents a +Module::DelegationError+
# from being raised
# * <tt>:private</tt> - If set to true, changes method visibility to private
#
# The macro receives one or more method names (specified as symbols or
# strings) and the name of the target object via the <tt>:to</tt> option
Expand Down

0 comments on commit f0faa86

Please sign in to comment.