File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
activesupport/lib/active_support Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ def instance
109
109
# ==== Options
110
110
#
111
111
# * <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.
115
115
def attribute ( *names , default : NOT_SET )
116
116
invalid_attribute_names = names . map ( &:to_sym ) & INVALID_ATTRIBUTE_NAMES
117
117
if invalid_attribute_names . any?
You can’t perform that action at this time.
0 commit comments