summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-04-03 12:54:05 -0500
committerNoah Kantrowitz <noah@coderanger.net>2017-04-03 12:54:05 -0500
commit7e39dfa20504c96466484d634e97595456fc37b9 (patch)
tree3f3f4026557c460440ba1bb10cd921e3dd5c433e
parente5161b5f9ee4a74dc70d785c955df48ba7882e4e (diff)
downloadohai-7e39dfa20504c96466484d634e97595456fc37b9.tar.gz
Make Rubocop happy.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--lib/ohai/system.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/system.rb b/lib/ohai/system.rb
index d2a8243a..56957f01 100644
--- a/lib/ohai/system.rb
+++ b/lib/ohai/system.rb
@@ -245,9 +245,9 @@ module Ohai
visitor = lambda do |val|
case val
when Hash
- val.each_value {|v| visitor.call(v) }
+ val.each_value { |v| visitor.call(v) }
when Array
- val.each {|v| visitor.call(v) }
+ val.each { |v| visitor.call(v) }
when String
val.freeze
end