summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ohai.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ohai.rb')
-rw-r--r--lib/chef/resource/ohai.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb
index b36cf32880..5211e2f3bc 100644
--- a/lib/chef/resource/ohai.rb
+++ b/lib/chef/resource/ohai.rb
@@ -27,13 +27,13 @@ class Chef
default_action :reload
- def initialize(name, run_context=nil)
+ def initialize(name, run_context = nil)
super
@name = name
@plugin = nil
end
- def plugin(arg=nil)
+ def plugin(arg = nil)
set_or_return(
:plugin,
arg,
@@ -41,7 +41,7 @@ class Chef
)
end
- def name(arg=nil)
+ def name(arg = nil)
set_or_return(
:name,
arg,