Method: PDK::Template::Renderer::AbstractRenderer#has_single_item?
- Defined in:
- lib/pdk/template/renderer.rb
#has_single_item?(_item_path) ⇒ 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.
This method is abstract.
Whether the renderer supports rendering the a single item called ‘item_path’. This is used when rendering things like a new Task or a new Puppet Classes. Rendering a single item is different than redering an entire project, like a entire Puppet Module or Control Repo.
60 61 62 |
# File 'lib/pdk/template/renderer.rb', line 60 def has_single_item?(_item_path) # rubocop:disable Naming/PredicateName Changing the method name to `single_item?` will convey the wrong intent false end |