別のキーワード
ライブラリ
- dbm (12)
- gdbm (12)
-
net
/ http (36) -
net
/ imap (48) -
rubygems
/ remote _ fetcher (168) -
rubygems
/ spec _ fetcher (132) - tsort (58)
クラス
- DBM (12)
- GDBM (12)
-
Gem
:: RemoteFetcher (156) -
Gem
:: RemoteFetcher :: FetchError (12) -
Gem
:: SpecFetcher (132) -
Net
:: IMAP (24) -
Net
:: IMAP :: FetchData (24)
モジュール
-
Net
:: HTTPHeader (36) - TSort (58)
キーワード
- attr (12)
-
cache
_ dir (12) -
connection
_ for (12) - dir (12)
- download (12)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - escape (12)
-
fetch
_ path (12) -
fetch
_ size (12) -
fetch
_ spec (12) -
file
_ uri? (12) -
find
_ matching (12) -
get
_ file _ uri _ path (12) -
get
_ proxy _ from _ env (12) -
latest
_ specs (12) -
legacy
_ repos (12) - list (12)
-
load
_ specs (12) -
normalize
_ uri (12) -
open
_ uri _ or _ path (12) - request (12)
- reset (12)
- seqno (12)
- specs (12)
- store (12)
-
strongly
_ connected _ components (12) -
uid
_ store (12) - unescape (12)
- uri (12)
-
warn
_ legacy (12)
検索結果
先頭5件
- Gem
:: SpecFetcher # fetch _ spec(spec , source _ uri) -> object - Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String - Gem
:: RemoteFetcher # get _ proxy _ from _ env -> URI | nil - Gem
:: SpecFetcher # warn _ legacy(exception) { . . . } -> bool - Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array
-
Gem
:: SpecFetcher # fetch _ spec(spec , source _ uri) -> object (12102.0) -
@todo
@todo
@param spec
@param source_uri -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (12101.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。 -
Gem
:: RemoteFetcher # get _ proxy _ from _ env -> URI | nil (12101.0) -
環境変数にセットされている HTTP proxy の情報を取得して返します。
環境変数にセットされている HTTP proxy の情報を取得して返します。
ここでチェックしている環境変数は以下の通りです。
* http_proxy
* http_proxy_user
* http_proxy_pass
* HTTP_PROXY
* HTTP_PROXY_USER
* HTTP_PROXY_PASS -
Gem
:: SpecFetcher # warn _ legacy(exception) { . . . } -> bool (9123.0) -
Gem::SpecFetcher#fetch で例外が発生した場合に呼び出されます。
...
Gem::SpecFetcher#fetch で例外が発生した場合に呼び出されます。
RubyGems 1.2 未満で作成したリポジトリにアクセスした事が原因で例外が発生した場合には
警告が表示されます。またこの場合、ブロックを与えていればブロック......は評価されます。
それ以外の原因で例外が発生した場合は偽を返します。
@param exception 例外オブジェクトを指定します。
@see Gem::SpecFetcher#fetch... -
Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array (9101.0) -
依存関係を満たす gemspec の名前の配列を返します。
...依存関係を満たす gemspec の名前の配列を返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォー......ムの情報を返します。
@see Gem::Dependency... -
Gem
:: SpecFetcher # legacy _ repos -> Array (9101.0) -
RubyGems 1.2 未満で作成されたリポジトリの配列を返します。
...RubyGems 1.2 未満で作成されたリポジトリの配列を返します。... -
Gem
:: RemoteFetcher :: FetchError # uri -> URI (9001.0) -
問題が発生した URI を返します。
問題が発生した URI を返します。 -
TSort
# each _ strongly _ connected _ component -> Enumerator (6107.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。......gly_connected_component は nil を返します。
//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
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strong......ly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component... -
TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil (6107.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。......gly_connected_component は nil を返します。
//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
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strong......ly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component...