DEV: Apply syntax_tree formatting to script/*

This commit is contained in:
David Taylor
2023-01-07 11:53:14 +00:00
parent ff508d1ae5
commit 436b3b392b
143 changed files with 8905 additions and 7353 deletions

View File

@ -24,7 +24,10 @@ stats = {}
end
puts "Top 100 keys"
stats.sort { |a, b| b[1][0] <=> a[1][0] }.first(50).each do |k, (len, type, elems)|
elems = " [#{elems}]" if elems
puts "#{k} #{type} #{len}#{elems}"
end
stats
.sort { |a, b| b[1][0] <=> a[1][0] }
.first(50)
.each do |k, (len, type, elems)|
elems = " [#{elems}]" if elems
puts "#{k} #{type} #{len}#{elems}"
end