diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-11-19 11:23:50 -0500 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-11-19 11:23:50 -0500 |
commit | 326a13908ba8a725a85330d040e3c5cc0b211524 (patch) | |
tree | 7de72ae30323b32c529b9a1e34e27277ca1afe85 /lib/puppet/parser/functions/chop.rb | |
parent | f40bb1e28808f346ce44c9197549681165fe233f (diff) | |
parent | 88acc523931272deb57eafbb7021f8d32248d68e (diff) | |
download | puppet-stdlib-326a13908ba8a725a85330d040e3c5cc0b211524.tar.gz puppet-stdlib-326a13908ba8a725a85330d040e3c5cc0b211524.tar.bz2 |
Merge branch 'jfryman-master'
* jfryman-master:
puppet-lint cleanup
Diffstat (limited to 'lib/puppet/parser/functions/chop.rb')
-rw-r--r-- | lib/puppet/parser/functions/chop.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions/chop.rb b/lib/puppet/parser/functions/chop.rb index 636b990..f242af3 100644 --- a/lib/puppet/parser/functions/chop.rb +++ b/lib/puppet/parser/functions/chop.rb @@ -4,9 +4,9 @@ module Puppet::Parser::Functions newfunction(:chop, :type => :rvalue, :doc => <<-'EOS' - Returns a new string with the last character removed. If the string ends - with `\r\n`, both characters are removed. Applying chop to an empty - string returns an empty string. If you wish to merely remove record + Returns a new string with the last character removed. If the string ends + with `\r\n`, both characters are removed. Applying chop to an empty + string returns an empty string. If you wish to merely remove record separators then you should use the `chomp` function. Requires a string or array of strings as input. EOS |