mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
util/rubocop -A --only Style/SymbolProc
This commit is contained in:
parent
b304cf324a
commit
5211900d37
61 changed files with 239 additions and 295 deletions
|
@ -31,7 +31,7 @@ class Gem::NameTuple
|
|||
# [name, version, platform] tuples.
|
||||
|
||||
def self.to_basic(list)
|
||||
list.map {|t| t.to_a }
|
||||
list.map(&:to_a)
|
||||
end
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue