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. |
||
|---|---|---|
| .. | ||
| definedtype | ||
| fulldoc/html | ||
| hostclass | ||
| layout/html | ||
| method_details | ||
| puppetnamespace | ||
| html_helper.rb | ||
| template_helper.rb | ||