diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-15 13:02:21 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-02-15 13:02:21 -0800 |
commit | 80b6150b5aafa1426629102d2b70f13b893b9faf (patch) | |
tree | 0e7f79dd1b90b0f4fe18b0247c44d3f155cd1fce /lib/chef/provider/execute.rb | |
parent | ac07b819652edb10b0421c12c16cce13e6e70f23 (diff) | |
download | chef-80b6150b5aafa1426629102d2b70f13b893b9faf.tar.gz |
cleans up the remaining new/current_resource ivarslcg/remove-ivars
switches from using ivars to accessors for getters
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/execute.rb')
-rw-r--r-- | lib/chef/provider/execute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/execute.rb b/lib/chef/provider/execute.rb index a605d9f7ec..28dce5d18c 100644 --- a/lib/chef/provider/execute.rb +++ b/lib/chef/provider/execute.rb @@ -27,7 +27,7 @@ class Chef provides :execute - def_delegators :@new_resource, :command, :returns, :environment, :user, :domain, :password, :group, :cwd, :umask, :creates + def_delegators :new_resource, :command, :returns, :environment, :user, :domain, :password, :group, :cwd, :umask, :creates def load_current_resource current_resource = Chef::Resource::Execute.new(new_resource.name) |