lib/puppet/parameter.rb
# Return a documentation string.  If there are valid values,
# then tack them onto the string.
Return a documentation string.  If there are valid values,
then tack them onto the string.
Return a documentation string . If there are valid values then tack them onto the string .
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
Return a documentation string.
Return a documentation string .