るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

ライブラリ

検索結果

String#shellescape -> String (72682.0)

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

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

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

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