
22 Dec
2020
22 Dec
'20
10:28 a.m.
On Tue, Dec 22, 2020 at 09:34:27AM +0800, Luan Shengde wrote:
@@ -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
A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters. Thanks, RenWen
Thanks, Luan Shengde
+ matrix[key] = [] unless matrix[key] matrix[key] << value end -- 2.23.0