Method: Chef::ResourceResolver.includes_handler?
- Defined in:
- lib/chef/resource_resolver.rb
.includes_handler?(resource_name, resource_class) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Whether the given handler attempts to provide the resource class at all.
107 108 109 |
# File 'lib/chef/resource_resolver.rb', line 107 def self.includes_handler?(resource_name, resource_class) handler_map.list(nil, resource_name).include?(resource_class) end |