summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/chop.rb
diff options
context:
space:
mode:
authorJames Fryman <james@frymanet.com>2012-11-09 11:08:24 -0600
committerJames Fryman <james@frymanet.com>2012-11-15 10:38:03 -0600
commit88acc523931272deb57eafbb7021f8d32248d68e (patch)
tree46103ab7b31f280bbbb8edd8a93e0529ed450229 /lib/puppet/parser/functions/chop.rb
parent747dcc6fc7df12d4d64502b0d4a0e35c3d4f8ec7 (diff)
puppet-lint cleanup
Diffstat (limited to 'lib/puppet/parser/functions/chop.rb')
-rw-r--r--lib/puppet/parser/functions/chop.rb6
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