puppet-strings/lib/puppet_x/puppetlabs/strings/yard
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
..
code_objects (PDOC-21) Typecheck documented parameters 2015-07-15 11:58:36 -07:00
core_ext (PDOC-25) Fix mangled puppet namespaces 2015-03-12 16:51:00 -07:00
handlers (PDOC-21) Only create HostClass parameters once 2015-08-12 10:18:31 -07:00
templates/default (PDOC-38) Prevent warnings from being issued twice 2015-09-04 14:45:08 -07:00
monkey_patches.rb (PDOC-38) Monkey patch Yard's logger 2015-08-21 10:36:31 -07:00
parser.rb (PDOC-35) Dispatch handlers in correct order 2015-07-21 15:15:30 -07:00