]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(MODULES-444) Update docs with new functionality
authorPeter Souter <p.souter@kainos.com>
Thu, 4 Dec 2014 14:32:23 +0000 (14:32 +0000)
committerPeter Souter <p.souter@kainos.com>
Thu, 4 Dec 2014 14:32:39 +0000 (14:32 +0000)
lib/puppet/parser/functions/concat.rb

index 0d35b07eb8da96706bb799183d73350ae4be0259..4b53f591e312fc97f87b855863e673592403b113 100644 (file)
@@ -4,15 +4,15 @@
 
 module Puppet::Parser::Functions
   newfunction(:concat, :type => :rvalue, :doc => <<-EOS
-Appends the contents of array 2 onto array 1.
+Appends the contents of multiple arrays into array 1.
 
 *Example:*
 
-    concat(['1','2','3'],['4','5','6'])
+    concat(['1','2','3'],['4','5','6'],['7','8','9'])
 
 Would result in:
 
-  ['1','2','3','4','5','6']
+  ['1','2','3','4','5','6','7','8','9']
     EOS
   ) do |arguments|