5件ヒット
[1-5件を表示]
(0.010秒)
種類
- モジュール関数 (2)
- インスタンスメソッド (1)
- 特異メソッド (1)
- モジュール (1)
クラス
- String (1)
モジュール
- Shellwords (3)
キーワード
- Shellwords (1)
- shellsplit (2)
- shellwords (1)
検索結果
先頭5件
-
Shellwords
. split(line) -> [String] (54310.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...単語分割規則に従った空白区切りの単語分割を行い、
単語 (文字列) の配列を返します。
このメソッドは、Shellwords.#shellsplit の別名です。
@param line 分割の対象となる文字列を指定します。
@return 分割結果の各文字列を要素... -
Shellwords
. # shellsplit(line) -> [String] (18307.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...ートが現れた場合に発生します。
例:
require 'shellwords'
p Shellwords.shellwords(%q{ foo bar "foo bar"\ baz 'foo bar' })
# => ["foo", "bar", "foo bar baz", "foo bar"]
p Shellwords.shellwords(%q{ A B C "D E F" "G","H I" })
# => ["A", "B", "C", "D E F... -
String
# shellsplit -> [String] (18307.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...、Shellwords.shellsplit(string) と等価です。
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまたはダブル
クォートが現れた場合に発生します。
@see Shellwords.#sh... -
Shellwords
. # shellwords(line) -> [String] (9007.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...ートが現れた場合に発生します。
例:
require 'shellwords'
p Shellwords.shellwords(%q{ foo bar "foo bar"\ baz 'foo bar' })
# => ["foo", "bar", "foo bar baz", "foo bar"]
p Shellwords.shellwords(%q{ A B C "D E F" "G","H I" })
# => ["A", "B", "C", "D E F... -
Shellwords (25.0)
-
UNIX Bourne シェルの単語分割規則に従った文字列分割と文字列エスケープ を行うモジュールです。
...UNIX Bourne シェルの単語分割規則に従った文字列分割と文字列エスケープ
を行うモジュールです。
Shellwords モジュールは、空白区切りの単語分割を行う shellsplit、文字列を
エスケープする shellescape、文字列エスケープを文字......て適用
する shelljoin の3つのモジュール関数を提供します。
これらのメソッドの別名として、Shellwords.split, Shellwords.escape,
Shellwords.join も使用可能です。
ただし、これらの短縮形式のメソッドはクラスメソッドとしてのみ定義...