48件ヒット
[1-48件を表示]
(0.009秒)
別のキーワード
ライブラリ
- optparse (12)
- shellwords (36)
クラス
- Array (12)
- OptionParser (12)
- String (24)
キーワード
- environment (12)
- shellescape (12)
- shelljoin (12)
- shellsplit (12)
検索結果
先頭4件
-
Array
# shelljoin -> String (8013.0) -
配列の各要素である文字列に対して、Bourne シェルのコマンドライン中で安全に 使えるためのエスケープを適用し、空白文字を介してそれらを連結したコマンド ライン文字列を生成します。
...スケープを適用し、空白文字を介してそれらを連結したコマンド
ライン文字列を生成します。
array.shelljoin は、Shellwords.shelljoin(array) と等価です。
@return エスケープ結果を連結した文字列を返します。
@see Shellwords.#shelljoin... -
String
# shellescape -> String (8013.0) -
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
...文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
string.shellescape は、Shellwords.escape(string) と等価です。
@return エスケープされた文字列を返します。
@see Shellwords.#shellescape... -
String
# shellsplit -> [String] (8013.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...、Shellwords.shellsplit(string) と等価です。
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまたはダブル
クォートが現れた場合に発生します。
@see Shellwords.#sh... -
OptionParser
# environment(env) -> [String] (33.0) -
環境変数 env に対して Shellwords.#shellwords を呼 んで配列にしてから parse を行ないます。
...環境変数 env に対して
Shellwords.#shellwords を呼
んで配列にしてから parse を行ないます。
@param env 環境変数名を文字列で与えます。
@raise OptionParser::ParseError パースに失敗した場合、発生します。
実際...