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
/
lstrip.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb
index
99874e4
..
2fd31a2
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb
@@
-3,10
+3,14
@@
#
module Puppet::Parser::Functions
newfunction(:lstrip, :type => :rvalue, :doc => <<-DOC
#
module Puppet::Parser::Functions
newfunction(:lstrip, :type => :rvalue, :doc => <<-DOC
- Strips leading spaces to the left of a string.
+ @summary
+ **Deprecated:** Strips leading spaces to the left of a string.
- Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core
- will be used instead of this function.
+ @return [String]
+ The stripped string
+
+ > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a
+ built-in [`max`](https://puppet.com/docs/puppet/latest/function.html#max) function.
DOC
) do |arguments|
DOC
) do |arguments|