るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.016秒)
トップページ > バージョン:3.3[x] > クエリ:shellwords[x] > クエリ:escape[x] > クラス:String[x]

別のキーワード

  1. shellwords shellwords
  2. shellwords shellescape
  3. shellwords shelljoin
  4. shellwords shellsplit

ライブラリ

検索結果

String#shellescape -> String (42358.0)

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

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

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

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