diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-14 18:26:59 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-14 18:26:59 +0000 |
commit | 4618b7f200c818efbee866d2d5ee176a57323a10 (patch) | |
tree | 73d9d757645d8fb6a14dc9fdd7a3d5ab2dba4942 /lib/shellwords.rb | |
parent | 65b9ee08381ed1a7e6e80addefef3e3fcd0b3ddb (diff) | |
download | bundler-4618b7f200c818efbee866d2d5ee176a57323a10.tar.gz |
[DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]
* lib/shellwords.rb: Fix output of Shellwords.escape()
https://github.com/ruby/ruby/pull/483
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shellwords.rb')
-rw-r--r-- | lib/shellwords.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shellwords.rb b/lib/shellwords.rb index c3586d29fa..21b86ce894 100644 --- a/lib/shellwords.rb +++ b/lib/shellwords.rb @@ -33,7 +33,7 @@ # This method will escape the String for you to safely use with a Bourne shell. # # argv = Shellwords.escape("special's.txt") -# argv #=> "special\\s.txt" +# argv #=> "special\\'s.txt" # system("cat " + argv) # # Shellwords also comes with a core extension for Array, Array#shelljoin. |