projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
strip.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/strip.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/strip.rb
index
59d15a3
..
067af00
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/strip.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/strip.rb
@@
-3,16
+3,19
@@
#
module Puppet::Parser::Functions
newfunction(:strip, :type => :rvalue, :doc => <<-DOC
#
module Puppet::Parser::Functions
newfunction(:strip, :type => :rvalue, :doc => <<-DOC
- This function removes leading and trailing whitespace from a string or from
- every string inside an array.
+ @summary
+ This function removes leading and trailing whitespace from a string or from
+ every string inside an array.
- *Examples:*
+ @return
+ String or Array converted
- strip(" aaa ")
+ @example **Usage**
- Would result in: "aaa"
+ strip(" aaa ")
+ Would result in: "aaa"
-
Note
: from Puppet 6.0.0, the compatible function with the same name in Puppet core
+
> *Note:*
: from Puppet 6.0.0, the compatible function with the same name in Puppet core
will be used instead of this function.
DOC
) do |arguments|
will be used instead of this function.
DOC
) do |arguments|