lib/puppet/parameter.rb
# Produces a documentation string.
# If an enumeration of _valid values_ has been defined, it is appended to the documentation
# for this parameter specified with the {desc} method.
# @return [String] Returns a documentation string.
# @api public
#
Produces a documentation string.
If an enumeration of _valid values_ has been defined, it is appended to the documentation
for this parameter specified with the {desc} method.
Produces a documentation string . If an enumeration of _valid values_ has been defined it is appended to the documentation for this parameter specified with the { desc } method .
def doc
      @doc ||= ""
      unless defined?(@addeddocvals)
        @doc += value_collection.doc
        if f = self.required_features
          @doc += "  Requires features #{f.flatten.collect { |f| f.to_s }.join(" ")}."
        end
        @addeddocvals = true
      end
      @doc
    end
def doc @doc ||= "" unless defined? ( @addeddocvals ) @doc += value_collection . doc if f = self . required_features @doc += "  Requires features #{f.flatten.collect { |f| f.to_s }.join(" ")}." end @addeddocvals = true end @doc end
Produces a documentation string.
Produces a documentation string .
Returns a documentation string.
Returns a documentation string .
String
api
None