730件ヒット
[1-100件を表示]
(0.220秒)
ライブラリ
- ビルトイン (218)
-
irb
/ cmd / help (11) -
irb
/ extend-command (11) - json (11)
- logger (22)
- matrix (22)
- mkmf (22)
-
net
/ ftp (11) -
net
/ http (11) -
net
/ imap (66) -
net
/ smtp (66) - openssl (55)
- pathname (11)
- rake (11)
-
rubygems
/ package / tar _ input (11) -
rubygems
/ specification (22) -
rubygems
/ user _ interaction (22) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (88)
- tsort (21)
クラス
- Addrinfo (22)
- Array (11)
-
Encoding
:: Converter (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: Specification (22) -
Gem
:: StreamUI (11) - IPSocket (11)
-
IRB
:: ExtendCommand :: Help (11) -
JSON
:: State (11) - LocalJumpError (11)
- Logger (22)
- Matrix (22)
-
Net
:: FTP (11) -
Net
:: HTTP (11) -
Net
:: IMAP (55) -
Net
:: IMAP :: Envelope (11) -
Net
:: SMTP (66) - Object (44)
-
OpenSSL
:: X509 :: ExtensionFactory (55) - Pathname (11)
-
Rake
:: FileList (11) - Range (22)
-
RubyVM
:: InstructionSequence (9) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (22)
- ThreadGroup (11)
- Time (11)
- TracePoint (44)
- UDPSocket (11)
- UNIXServer (11)
- UNIXSocket (11)
モジュール
- Enumerable (44)
-
Gem
:: UserInteraction (11) -
IRB
:: ExtendCommandBundle (11) - Kernel (22)
- TSort (21)
キーワード
- accept (11)
- append (11)
-
choose
_ from _ list (22) -
connect
_ from (22) -
convertible
_ int (22) -
create
_ ext _ from _ array (11) -
create
_ ext _ from _ hash (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) - debug (22)
- disable (22)
- each (22)
-
each
_ strongly _ connected _ component _ from (21) - enable (22)
- enclose (11)
-
enum
_ for (22) -
excluded
_ from _ list? (11) - execute (11)
- generate (11)
-
install
_ alias _ method (11) -
load
_ gemspec (11) -
loaded
_ from (11) -
loaded
_ from= (11) - mailfrom (11)
-
max
_ by (44) - minor (22)
-
primitive
_ errinfo (11) -
proxy
_ from _ env= (11) - ready (11)
- reason (11)
- recvfrom (33)
-
recvfrom
_ nonblock (22) -
relative
_ path _ from (11) - rename (29)
- search (11)
-
send
_ mail (11) - sendmail (11)
- sort (11)
- strftime (11)
-
to
_ binary (9) -
to
_ enum (22) - transpose (11)
-
uid
_ search (11) -
uid
_ sort (11)
検索結果
先頭5件
- Pathname
# relative _ path _ from(base _ directory) -> Pathname - Net
:: IMAP :: Envelope # from -> [Net :: IMAP :: Address] | nil - IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) - OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension - TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator
-
Pathname
# relative _ path _ from(base _ directory) -> Pathname (24508.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......、self が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory から self へ......の相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
Net
:: IMAP :: Envelope # from -> [Net :: IMAP :: Address] | nil (24318.0) -
From を Net::IMAP::Address オブジェクトの配列で返します。
...From を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。... -
IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) (21408.0) -
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
...を定義します。ライブラリ内部で使用します。
@param to 新しいメソッド名を Symbol か文字列で指定します。
@param from 元のメソッド名を Symbol か文字列で指定します。
@param override 新しいメソッド名が定義済みであった場合に......のメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
で指定します。... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (21302.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
...から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (18427.0) -
node から到達可能な強連結成分についてのイテレータです。
...
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示......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_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connec......ted_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (18427.0) -
node から到達可能な強連結成分についてのイテレータです。
...
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示......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_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connec......ted_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (18419.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...enSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from......_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj......拡張領域のデータ。配列、ハッシュ、文字列のいずれか
@param oid 拡張領域の識別子を表す文字列
@param value 拡張領域の値を表す文字列
@param critical 重要度(真偽値)... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension (18419.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...enSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_from......_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj......拡張領域のデータ。配列、ハッシュ、文字列のいずれか
@param oid 拡張領域の識別子を表す文字列
@param value 拡張領域の値を表す文字列
@param critical 重要度(真偽値)... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ array(ary) -> OpenSSL :: X509 :: Extension (18402.0) -
[oid, value, critical] もしくは [oid, value] という配列から OpenSSL::X509::Extension オブジェクトを生成します。
...[oid, value, critical] もしくは [oid, value] という配列から
OpenSSL::X509::Extension オブジェクトを生成します。
@param ary 生成する拡張領域のデータの配列
@see OpenSSL::X509::ExtensionFactory#create_ext... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (18402.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
渡すハッシュテーブルは
{"oid" => OID文字列, "value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同......じになります。
@param hash 生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext...