Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library shellwords > module Shellwords > escape
escape(str) -> String
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
このメソッドは、Shellwords.#shellescape の別名です。