aboutsummaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/prefix_with.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/prefix_with.rb')
-rw-r--r--lib/puppet/parser/functions/prefix_with.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/puppet/parser/functions/prefix_with.rb b/lib/puppet/parser/functions/prefix_with.rb
index 5a12986..6e64a4a 100644
--- a/lib/puppet/parser/functions/prefix_with.rb
+++ b/lib/puppet/parser/functions/prefix_with.rb
@@ -1,15 +1,5 @@
-# Prefixes arguments 2..n with first argument.
-#
-# prefix_with(string prefix, string[] arguments) : string[]
-#
-# Example:
-#
-# prefix_with("php-", [ "blah", "foo" ])
-#
-# will result in this array:
-#
-# [ "php-blah", "php-foo" ]
-#
+# prefix arguments 2..n with first argument
+
module Puppet::Parser::Functions
newfunction(:prefix_with, :type => :rvalue) do |args|
prefix = args.shift