# Custom Puppet function to convert unix to dos format
module Puppet::Parser::Functions
newfunction(:unix2dos, :type => :rvalue, :arity => 1, :doc => <<-DOC
- Returns the DOS version of the given string.
+ @summary
+ Returns the DOS version of the given string.
+
+ @return
+ the DOS version of the given string.
+
Takes a single string argument.
DOC
) do |arguments|