Skip to content

Commit 0fdb4cf

Browse files
authored
Merge pull request rails#55307 from Bilka2/docs-current-attributes-attribute
Fix cut off CurrentAttributes option description [ci skip]
2 parents 3eba286 + 3fc9be9 commit 0fdb4cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activesupport/lib/active_support/current_attributes.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def instance
109109
# ==== Options
110110
#
111111
# * <tt>:default</tt> - The default value for the attributes. If the value
112-
# is a proc or lambda, it will be called whenever an instance is
113-
# constructed. Otherwise, the value will be duplicated with +#dup+.
114-
# Default values are re-assigned when the attributes are reset.
112+
# is a proc or lambda, it will be called whenever an instance is
113+
# constructed. Otherwise, the value will be duplicated with +#dup+.
114+
# Default values are re-assigned when the attributes are reset.
115115
def attribute(*names, default: NOT_SET)
116116
invalid_attribute_names = names.map(&:to_sym) & INVALID_ATTRIBUTE_NAMES
117117
if invalid_attribute_names.any?

0 commit comments

Comments
 (0)