るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

String#shellescape -> String (27340.0)

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

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

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

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