diff options
Diffstat (limited to 'lib/chef/resource_inspector.rb')
-rw-r--r-- | lib/chef/resource_inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb index 940440de7c..8d92db04b6 100644 --- a/lib/chef/resource_inspector.rb +++ b/lib/chef/resource_inspector.rb @@ -25,7 +25,7 @@ require_relative "json_compat" module ResourceInspector def self.get_default(default) - if default.kind_of?(Chef::DelayedEvaluator) + if default.is_a?(Chef::DelayedEvaluator) # ideally we'd get the block we pass to `lazy`, but the best we can do # is to get the source location, which then results in reparsing the source # code for the resource ourselves and just no |