るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.015秒)

別のキーワード

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

ライブラリ

検索結果

Shellwords.escape(str) -> String (51043.0)

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

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

このメソッドは、Shellwords.#shellescape の別名です。

@param str エスケープの対象となる文字列を指定します。
@return エスケープされた文字列...