Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library shellwords > class String > shellescape
shellescape -> String [added by shellwords]
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
string.shellescape は、Shellwords.escape(string) と等価です。
[SEE_ALSO] Shellwords.#shellescape