
22 Dec
2020
22 Dec
'20
9:34 a.m.
@@ -87,6 +87,8 @@ def create_matrix(job_list) next unless stats
stats.each do |key, value| + next if key.include?('timestamp')
mostly we use include for a hash include a key, or array include a element. that would be fine use include here, but I think use match? better Thanks, Luan Shengde
+ matrix[key] = [] unless matrix[key] matrix[key] << value end -- 2.23.0