diff options
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 6e2c139456..93384e456a 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -750,7 +750,7 @@ class Chef # @see Chef::Resource.action_class # def provider(arg = nil) - klass = if arg.kind_of?(String) || arg.kind_of?(Symbol) + klass = if arg.is_a?(String) || arg.is_a?(Symbol) lookup_provider_constant(arg) else arg |