puppet-strings/spec/unit/puppet_x/puppetlabs/strings/yard/examples
Ian Kronquist 11e016e81e (PDOC-38) Prevent warnings from being issued twice
Since we threw away all of Yard's warnings we are no longer checking that the
parameter names match for Ruby methods. Thus we need to override Yard's
method_details template with our own to trigger our warning function. However,
there's a catch. If this ruby method is in a Puppet 4x function, we don't want
our warning function to trigger because the user has already been warned. Look
in the registry to see if there is already a Puppet 4x function with the same
name registered.

Also, print errors to stderr instead of using log.warn.
2015-09-04 14:45:08 -07:00
..
test/manifests (PDOC-21) Test for duplicate hostclass warnings 2015-08-19 10:50:03 -07:00
test-param-names-differ/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
test-param-names-differ-with-dispatch/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
test-param-names-differ-with-types/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
test-param-names-match/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
test-param-names-match-with-dispatch/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
test-param-names-match-with-types/lib (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00