ruby-cvs:20664
From: knu ruby-lang.org
Date: Tue, 11 Sep 2007 17:27:49 +0900 (JST)
Subject: [ruby-cvs:20664] Ruby:r13427 (trunk): * lib/shellwords.rb: Add shellescape() and shelljoin().
knu 2007-09-11 17:27:48 +0900 (Tue, 11 Sep 2007)
New Revision: 13427
Modified files:
trunk/ChangeLog
trunk/lib/shellwords.rb
Log:
* lib/shellwords.rb: Add shellescape() and shelljoin().
* lib/shellwords.rb: Rename shellwords() to shellsplit() and make
the former an alias to the latter.
* lib/shellwords.rb: Add escape(), split(), join() as class
methods, which are aliases to their respective long names
prefixed with `shell'.
* lib/shellwords.rb: Add String#shellescape(), String#shellsplit()
and Array#shelljoin() for convenience.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/shellwords.rb?r1=13427&r2=13426
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13427&r2=13426