From 0431bc7735e7a062fc26551b51b5deefadc1fed0 Mon Sep 17 00:00:00 2001 From: David Danzilio Date: Wed, 16 Sep 2015 11:14:31 -0400 Subject: [PATCH] (PDOC-28) Porting changes introduced in #46 --- lib/puppet_x/puppetlabs/strings/util.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/puppet_x/puppetlabs/strings/util.rb b/lib/puppet_x/puppetlabs/strings/util.rb index 989c2ff..328a9b4 100644 --- a/lib/puppet_x/puppetlabs/strings/util.rb +++ b/lib/puppet_x/puppetlabs/strings/util.rb @@ -24,6 +24,9 @@ module PuppetX::PuppetLabs::Strings::Util # all over the terminal. This should definitely not be in real code, but # it's very handy for debugging with pry #class YARD::Logger; def progress(*args); end; end + YARD::Tags::Library.define_directive("puppet.type.param", + :with_types_and_name, + PuppetX::PuppetLabs::Strings::YARD::Tags::PuppetTypeParameterDirective) yardoc_actions.generate_documentation(*yard_args) end