Method: Puppet::Parameter.desc

Defined in:
lib/puppet/parameter.rb

.desc(str) ⇒ String

Sets the documentation for this parameter.

Parameters:

  • str (String)

    The documentation string to set

Returns:

  • (String)

    the given str parameter

See Also:



154
155
156
# File 'lib/puppet/parameter.rb', line 154

def desc(str)
  @doc = str
end