File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,16 @@ def check_unknown!
133
133
134
134
protected
135
135
136
- def assign_result! ( option , result )
137
- if option . repeatable && option . type == :hash
138
- ( @assigns [ option . human_name ] ||= { } ) . merge! ( result )
139
- elsif option . repeatable
140
- ( @assigns [ option . human_name ] ||= [ ] ) << result
141
- else
142
- @assigns [ option . human_name ] = result
136
+ def assign_result! ( option , result )
137
+ if option . repeatable && option . type == :hash
138
+ ( @assigns [ option . human_name ] ||= { } ) . merge! ( result )
139
+ elsif option . repeatable
140
+ ( @assigns [ option . human_name ] ||= [ ] ) << result
141
+ else
142
+ @assigns [ option . human_name ] = result
143
+ end
143
144
end
144
- end
145
+
145
146
# Check if the current value in peek is a registered switch.
146
147
#
147
148
# Two booleans are returned. The first is true if the current value
You can’t perform that action at this time.
0 commit comments