るりまサーチ

最速Rubyリファレンスマニュアル検索!
4187件ヒット [1-100件を表示] (0.229秒)
トップページ > クエリ:-[x] > クエリ:E[x] > クエリ:d[x] > クエリ:sh[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

ライブラリ

クラス

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Shellwords.#shellwords(line) -> [String] (24424.0)

Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。

...Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、
単語 (文字列) の配列を返します。

空白、シングルクォート (')、ダブルクォート (")、バックスラッシュ (\)
を解釈します。

@param line 分割の対象となる文...
...
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまたはダブル
クォートが現れた場合に発生します。

例:
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", "G,H I"]...

shell/builtin-command (24000.0)

Shell で使用するビルトインコマンドを定義しているライブラリです。

...Shell で使用するビルトインコマンドを定義しているライブラリです。...

shell/command-processor (24000.0)

Shell で使用可能なコマンドの大半を定義するライブラリです。

...Shell で使用可能なコマンドの大半を定義するライブラリです。...

shell/system-command (24000.0)

Gem::DependencyList#spec_predecessors -> Hash (21500.0)

@todo ???

...@todo ???

Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec....

絞り込み条件を変える

Hash.ruby2_keywords_hash?(hash) -> bool (21500.0)

Module#ruby2_keywordsやProc#ruby2_keywordsによる ruby2_keywords フラグが設定されているかどうかを返します。

...Module#ruby2_keywordsやProc#ruby2_keywordsによる
ruby2_keywords フラグが設定されているかどうかを返します。

このメソッドはデバッグや調査、シリアライゼーションのために本当に必要な場合のために
用意されていて、普通のプログ...
...れていません。

ruby 2.7.1 で追加されたため、ruby 2.7.0 では定義されていません。

//emlist[][ruby]{
ruby2_keywords def foo(*args)
Hash.ruby2_keywords_hash?(args.last)
e
nd
foo(k: 1) # => true
foo({k: 1}) # => false
//}

@see Module#ruby2_keywords, Proc#ruby2_keywords...

FileUtils#sh(*cmd) {|result, status| ... } (21325.0)

与えられたコマンドを実行します。

...@param cmd 引数の解釈に関しては Kernel.#exec を参照してください。


例:
sh
%{ls -ltr}

sh
'ls', 'file with spaces'

# check exit status after command runs
sh
%{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatu...
...s})"
end
e
nd

@see Kernel.#exec, Kernel.#system...

Shellwords.#shellsplit(line) -> [String] (21324.0)

Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。

...Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、
単語 (文字列) の配列を返します。

空白、シングルクォート (')、ダブルクォート (")、バックスラッシュ (\)
を解釈します。

@param line 分割の対象となる文...
...
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまたはダブル
クォートが現れた場合に発生します。

例:
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", "G,H I"]...

Gem::LocalRemoteOptions#add_bulk_threshold_option (21316.0)

オプション --bulk-threshold を追加します。

...オプション --bulk-threshold を追加します。...

Digest::SHA2#digest_length -> Integer (21300.0)

ダイジェストのハッシュ値のバイト長を返します。

ダイジェストのハッシュ値のバイト長を返します。

絞り込み条件を変える

Resolv::DNS::Resource::SOA#refresh -> Integer (21300.0)

プライマリサーバからの更新をセカンダリサーバがチェックする 頻度を秒単位で返します。

プライマリサーバからの更新をセカンダリサーバがチェックする
頻度を秒単位で返します。
<< 1 2 3 ... > >>