Simplify operating system hash for get method

This commit is contained in:
Brian Cain 2015-09-14 22:26:27 -07:00
parent 8616397c8e
commit e194f04ea9

View file

@ -27,7 +27,7 @@ class Pooler
unless os_body.has_key?(os_type) unless os_body.has_key?(os_type)
os_body[os_type] = 1 os_body[os_type] = 1
else else
os_body[os_type] = os_body[os_type] + 1 os_body[os_type]++
end end
end end