Method: Chef::Resource.custom_resource?

Defined in:
lib/chef/resource.rb

.custom_resource?Boolean

Returns true or false based on if the resource is a custom resource. The top-level Chef::Resource is not a chef resource. This value is inherited.

Returns:

  • (Boolean)

    if the resource is a custom_resource



1163
1164
1165
# File 'lib/chef/resource.rb', line 1163

def self.custom_resource?
  false
end