るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.020秒)
トップページ > クエリ:DEFAULT[x] > クエリ:fetch[x] > バージョン:3.3[x] > 種類:ライブラリ[x]

別のキーワード

  1. uri default_port
  2. _builtin default
  3. socket ai_default
  4. generic default_port
  5. socket ip_default_multicast_ttl

キーワード

検索結果

rubygems/commands/fetch_command (18040.0)

Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。

Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。

Usage: gem fetch GEMNAME [GEMNAME ...] [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem を取得します
--platform PLATFORM 指定されたプラットフォームの Gem を取得します
Local/Remote Options:
-B, --bulk-threshold COUNT ...

tsort (40.0)

tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。

tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。

=== Example

//emlist[][ruby]{
require 'tsort'

class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end

{1=>[2, 3], 2=>[3], 3=>[], 4=>[]}.tsort
#=> [3, 2, 1, 4]

{1=>[2], 2=>[3, 4...