Add a to_s method for sys_info to avoid conversion error

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-09-11 19:56:05 -04:00
parent 192c241ee0
commit 80db6b52c7

View file

@ -54,5 +54,9 @@ module Inspec::Resources
skip_resource "The `sys_info.model` resource is not supported on your OS yet."
end
end
def to_s
"System Information"
end
end
end