class PuppetX::PuppetLabs::Strings::YARD::Tags::PuppetTypeParameterDirective

Creates a new code object based on the directive

Public Instance Methods

call() click to toggle source
# File lib/puppet_x/puppetlabs/strings/yard/tags/directives.rb, line 4
def call
  return if object.nil?
  object.parameters << ([tag.text, tag.types].flatten)
  object.parameter_details << {:name => tag.name, :desc => tag.text, :exists? => true, :puppet_type => true}
end