diff options
author | Claire McQuin <claire@getchef.com> | 2015-09-17 10:01:02 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2015-09-17 10:01:02 -0700 |
commit | fbd4375eb898b6a0e1a3d55dfe1a91e4c1c26d8a (patch) | |
tree | 00b8a8bb053d783fa53f64df6afda47f97f69da9 /lib/chef/resource.rb | |
parent | e9be737dd9b600a387e36bf2344f565e3804d3ef (diff) | |
download | chef-fbd4375eb898b6a0e1a3d55dfe1a91e4c1c26d8a.tar.gz |
Rename Chef::Resource#current_resource -> Chef::Resource#current_valuemcquin/chef-3897
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index aec78b4f6d..5c230ad2f4 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1406,7 +1406,7 @@ class Chef # @return A new copy of the resource, with values filled in from the actual # current value. # - def current_resource + def current_value provider = provider_for_action(Array(action).first) if provider.whyrun_mode? && !provider.whyrun_supported? raise "Cannot retrieve #{self.class.current_resource} in why-run mode: #{provider} does not support why-run" |