るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.050秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:c[x] > クエリ:string[x] > クラス:String[x] > ライブラリ:shellwords[x]

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_bind
  3. etc sc_2_c_dev
  4. tracer display_c_call
  5. tracer display_c_call=

検索結果

String#shellescape -> String (15217.0)

文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

...文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

string
.shellescape は、Shellwords.escape(string) と等価です。

@return エスケープされた文字列を返します。
@see Shellwords.#shellescape...