Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Apr 25, 2022
1 parent b9c2526 commit 7dec448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/module/ruby2_keywords_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def splat1(arg, *args)
end

def proc_call(*args)
-> *args { args.last }.call(*args)
-> *a { a.last }.call(*args)
end
end

Expand Down Expand Up @@ -152,7 +152,7 @@ def splat1(arg, *args)
end

def proc_call(*args)
-> *args { args.last }.call(*args)
-> *a { a.last }.call(*args)
end
end

Expand Down

0 comments on commit 7dec448

Please sign in to comment.