Skip to content

Commit ff7a79b

Browse files
author
Vincent Landgraf
committed
#10 fixes typo (wrong brace)
1 parent cb1e176 commit ff7a79b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/vmstat/solaris.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def self.cpu
66
mpstat.shift # ignore header
77
mpstat.map do |line|
88
num, *rest, user, sys, _, idle = line.strip.split(/\s+/)
9-
Cpu.new(num.to_i, user.to_i, sys.to_i, 0, idle.to_i]
9+
Cpu.new(num.to_i, user.to_i, sys.to_i, 0, idle.to_i)
1010
end
1111
end
1212

0 commit comments

Comments
 (0)