summaryrefslogtreecommitdiff
path: root/lib/ohai/system.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/system.rb')
-rw-r--r--lib/ohai/system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/system.rb b/lib/ohai/system.rb
index 12f78c70..0e8f5b7d 100644
--- a/lib/ohai/system.rb
+++ b/lib/ohai/system.rb
@@ -193,7 +193,7 @@ module Ohai
end
raise ArgumentError, "I cannot find an attribute named #{a}!" if data.nil?
case data
- when Hash, Mash, Array, Fixnum
+ when Hash, Mash, Array, Integer
json_pretty_print(data)
when String
if data.respond_to?(:lines)