Skip to content

Commit e7aad40

Browse files
committed
Don't need next: begin/end block is inside the loop already
1 parent 0222fe5 commit e7aad40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/thor/parser/arguments.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def initialize(arguments = [])
3434
@assigns[argument.human_name] = argument.default.dup
3535
rescue TypeError # Compatibility shim for un-dup-able Fixnum in Ruby < 2.4
3636
@assigns[argument.human_name] = argument.default
37-
next
3837
end
3938
elsif argument.required?
4039
@non_assigned_required << argument

0 commit comments

Comments
 (0)