ライブラリ
- ビルトイン (580)
- bigdecimal (13)
-
cgi
/ session (55) -
cgi
/ session / pstore (11) - coverage (7)
- csv (209)
- date (132)
- drb (33)
-
drb
/ timeridconv (11) - e2mmap (42)
- erb (11)
- fiddle (33)
- fileutils (33)
- getoptlong (11)
-
io
/ console (11) -
io
/ console / size (22) - irb (44)
-
irb
/ cmd / nop (22) -
irb
/ context (11) -
irb
/ extend-command (22) - json (110)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) - logger (1)
- matrix (11)
- monitor (11)
-
net
/ ftp (9) -
net
/ http (99) -
net
/ imap (33) -
net
/ pop (11) -
net
/ smtp (22) - open-uri (36)
- openssl (220)
- optparse (77)
- pp (22)
- prime (33)
- psych (66)
- rake (44)
-
rake
/ packagetask (11) - rbconfig (22)
-
rdoc
/ context (22) -
rdoc
/ generator / json _ index (11) -
rdoc
/ markdown (22) -
rdoc
/ markup / to _ html _ crossref (11) -
rdoc
/ parser (22) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) - readline (66)
- resolv (11)
-
rexml
/ document (187) -
ripper
/ lexer (11) - rss (11)
-
rubygems
/ command (22) -
rubygems
/ dependency _ installer (11) -
rubygems
/ doc _ manager (22) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ installer (11) -
rubygems
/ package (11) -
rubygems
/ security (66) -
rubygems
/ server (22) -
rubygems
/ source _ index (22) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (198) -
rubygems
/ uninstaller (11) -
rubygems
/ user _ interaction (33) -
rubygems
/ version (33) - shell (6)
-
shell
/ builtin-command (6) -
shell
/ command-processor (12) -
shell
/ process-controller (48) - singleton (11)
- socket (151)
- strscan (11)
- sync (18)
- tempfile (50)
- thread (2)
- tracer (77)
- tsort (53)
- uri (33)
-
webrick
/ cgi (11) -
webrick
/ httpauth / basicauth (11) -
webrick
/ httpauth / digestauth (11) -
webrick
/ httpproxy (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (11) -
webrick
/ httpserver (11) -
webrick
/ httpservlet / abstract (22) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpversion (22) -
webrick
/ ssl (11) -
win32
/ registry (77) - win32ole (44)
- zlib (77)
クラス
- Array (11)
- BigDecimal (24)
-
CGI
:: Session (22) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (209)
- Complex (11)
- Coverage (7)
-
DRb
:: DRbServer (33) -
DRb
:: TimerIdConv (11) - Date (88)
- DateTime (66)
- ERB (11)
-
Encoding
:: Converter (66) - Exception (40)
-
Fiddle
:: Closure (11) -
Fiddle
:: Closure :: BlockCaller (11) -
Fiddle
:: Function (11) -
Gem
:: Command (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: DocManager (22) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: FileOperations (11) -
Gem
:: Installer (11) -
Gem
:: Security :: Policy (22) -
Gem
:: Server (22) -
Gem
:: SourceIndex (22) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (198) -
Gem
:: Uninstaller (11) -
Gem
:: Version (33) - GetoptLong (11)
- Hash (22)
- IO (77)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Nop (22) - Integer (14)
-
JSON
:: Parser (11) -
JSON
:: State (22) -
Logger
:: Application (1) - Matrix (11)
- Module (11)
- Monitor (11)
-
Net
:: FTP (9) -
Net
:: HTTP (88) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (33) -
Net
:: POP3 (11) -
Net
:: SMTP (22) -
OpenSSL
:: ASN1 :: ObjectId (11) -
OpenSSL
:: Config (33) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: Response (33) -
OpenSSL
:: PKey :: RSA (44) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: Extension (22) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: StoreContext (11) - OpenStruct (11)
- OptionParser (66)
-
OptionParser
:: ParseError (11) - PP (22)
- Prime (22)
-
Psych
:: Nodes :: Document (11) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: Context (11) -
RDoc
:: Context :: Section (11) -
RDoc
:: Generator :: JsonIndex (11) -
RDoc
:: Markdown (22) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
RDoc
:: Parser (22) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
REXML
:: Attribute (11) -
REXML
:: Document (55) -
REXML
:: Element (11) -
REXML
:: Formatters :: Pretty (11) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (11) -
REXML
:: NotationDecl (11) -
REXML
:: Text (11) -
REXML
:: XMLDecl (11) -
Rake
:: InvocationChain (22) -
Rake
:: PackageTask (11) - Range (11)
- Rational (11)
- Regexp (55)
-
Resolv
:: DNS (11) - Ripper (11)
-
RubyVM
:: InstructionSequence (106) - Shell (6)
-
Shell
:: CommandProcessor (12) -
Shell
:: Concat (6) -
Shell
:: ProcessController (48) - SignalException (33)
- Socket (99)
-
Socket
:: Option (44) - String (11)
- StringScanner (11)
- Struct (11)
- Symbol (11)
-
Sync
_ m :: Err (6) -
Sync
_ m :: LockModeFailer (6) -
Sync
_ m :: UnknownLocker (6) - TCPSocket (8)
- Tempfile (50)
- Thread (60)
-
Thread
:: ConditionVariable (11) - Time (126)
- Tracer (77)
-
URI
:: Generic (11) -
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPAuth :: DigestAuth (11) -
WEBrick
:: HTTPProxyServer (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (22) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPVersion (22) - WIN32OLE (33)
-
WIN32OLE
_ EVENT (11) -
Win32
:: Registry (77) -
Zlib
:: Deflate (22) -
Zlib
:: GzipWriter (55)
モジュール
- Exception2MessageMapper (42)
- FileUtils (33)
- GC (5)
-
Gem
:: DefaultUserInteraction (33) -
Gem
:: Security (44) - IRB (44)
-
IRB
:: ContextExtender (22) - JSON (66)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - OpenURI (22)
- Psych (44)
-
REXML
:: Security (44) -
RSS
:: Maker (11) - Rake (22)
- RbConfig (22)
- Readline (66)
- Singleton (11)
- TSort (53)
- URI (36)
オブジェクト
- ENV (11)
キーワード
- CurrentContext (11)
- Fail (24)
- Raise (6)
- [] (11)
-
_ load (11) -
abort
_ on _ exception (11) -
abort
_ on _ exception= (11) - accept (11)
- activate (6)
-
active
_ process _ controllers (6) -
add
_ common _ option (11) -
add
_ trusted _ cert (11) -
alias
_ extension (11) - append (11)
- application (11)
- application= (11)
-
array
_ attribute (11) -
array
_ attributes (11) -
asciicompat
_ encoding (22) - at (13)
- attribute (11)
-
attribute
_ alias _ singular (11) -
attribute
_ defaults (11) -
attribute
_ names (11) - attributes (11)
-
auth
_ only (11) - binread (11)
-
block
_ output _ synchronize (6) -
body
_ permitted? (11) - bool (11)
- build (33)
-
build
_ cert (11) -
build
_ self _ signed _ cert (11) - callback (11)
- civil (22)
- clone (11)
- compile (22)
-
compile
_ file (11) -
compile
_ option (11) -
compile
_ option= (11) -
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
completion
_ case _ fold (11) -
completion
_ case _ fold= (11) -
completion
_ proc (11) -
completion
_ proc= (11) - component (11)
- conf (11)
-
configured
_ args (11) -
configured
_ args= (11) - connect (11)
- console (11)
-
console
_ size (11) -
const
_ load (11) - constants (11)
- convert (11)
- correct? (11)
- create (64)
-
create
_ id (11) -
create
_ id= (11) - debug (11)
- debug= (11)
-
debug
_ output _ synchronize (6) -
decode
_ www _ form _ component (11) -
def
_ builtin _ commands (6) -
def
_ exception (6) -
def
_ extend _ command (11) -
default
_ console _ size (11) -
default
_ id _ conv (11) -
default
_ passive= (9) -
default
_ ssl _ context (11) -
default
_ submission _ port (11) -
default
_ value (11) - deflate (11)
- diagonal (11)
- disasm (11)
- disassemble (11)
-
double
_ fig (11) - dump (22)
-
each
_ active _ object (6) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
encode
_ www _ form _ component (11) -
entity
_ expansion _ limit (22) -
entity
_ expansion _ limit= (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) - exception (11)
- execute (11)
-
extend
_ object (6) - extension (11)
- filter (33)
-
filter
_ backtrace (11) - foreach (11)
-
from
_ prime _ division (11) -
from
_ state (11) -
from
_ yaml (11) - generate (33)
-
generate
_ line (11) - generator (11)
-
get
_ instance (11) -
get
_ response (22) - getopts (22)
- gm (22)
-
handle
_ interrupt (11) -
have
_ option? (11) - httpdate (22)
- inactivate (6)
-
install
_ extend _ commands (11) - instance (33)
- int (11)
-
int
_ from _ prime _ division (11) -
irb
_ abort (11) -
is
_ version _ 1 _ 1? (11) -
is
_ version _ 1 _ 2? (11) -
json
_ create (143) - lex (11)
-
libyaml
_ version (11) - linger (11)
- list (11)
- load (22)
-
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) -
load
_ specification (11) - local (22)
- make (11)
- mktime (22)
-
must
_ C _ version (11) - new (1066)
-
normalize
_ yaml _ input (11) - of (11)
- off (11)
-
ole
_ show _ help (11) - open (126)
-
open
_ uri (22) -
overwrite
_ accessor (11) - parse (33)
-
parse
_ line (11) - parser (11)
-
parser
_ for (11) -
pending
_ interrupt? (11) -
post
_ form (11) -
prime
_ division (11) -
process
_ controllers _ exclusive (6) - read (11)
-
read
_ only (11) - readlines (11)
- register (11)
- reject (11)
-
report
_ on _ exception (8) -
report
_ on _ exception= (8) -
required
_ attribute (11) -
required
_ attribute? (11) -
required
_ attributes (11) - rfc2822 (22)
- rfc822 (22)
- ruby (11)
- run (11)
-
run
_ config (6) - search (11)
-
search
_ convpath (11) -
set
_ get _ line _ procs (22) -
sharing
_ detection (11) -
sharing
_ detection= (11) -
sign
_ cert (11) - start (7)
- state (11)
- stdout= (11)
-
strongly
_ connected _ components (11) - table (11)
- tcp (22)
-
to
_ json (11) -
to
_ tty? (7) -
trusted
_ cert _ path (11) -
try
_ convert (58) -
udp
_ server _ loop (22) -
udp
_ server _ loop _ on (11) -
udp
_ server _ sockets (44) - ui (11)
- ui= (11)
- union (11)
-
use
_ ui (11) - utc (22)
-
valid
_ civil? (11) -
valid
_ date? (11) - verbose= (22)
-
verify
_ compaction _ references (5) - version (22)
-
version
_ 1 _ 1? (11) -
version
_ 1 _ 2 (11) -
version
_ 1 _ 2? (11) -
wait
_ to _ finish _ all _ process _ controllers (6) - wrap (22)
- write (22)
検索結果
先頭5件
- TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil - TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator - TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () - TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array
-
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator (18301.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2]
# [3]
# [1]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, eac......h_child) {|scc| p scc }
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil (18301.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2]
# [3]
# [1]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, eac......h_child) {|scc| p scc }
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator (18301.0) -
node から到達可能な強連結成分についてのイテレータです。
...レータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定しま......//emlist[使用例][ruby]{
require 'tsort'
graph = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_child = lambda {|n, &b| graph[n].each(&b) }
TSort.each_strongly_connected_component_from(1, each_child) {|scc|
p scc
}
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component_from... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () (18301.0) -
node から到達可能な強連結成分についてのイテレータです。
...レータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定しま......//emlist[使用例][ruby]{
require 'tsort'
graph = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_child = lambda {|n, &b| graph[n].each(&b) }
TSort.each_strongly_connected_component_from(1, each_child) {|scc|
p scc
}
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component_from... -
TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array (18301.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
...&b| g[n].each(&b) }
p TSort.strongly_connected_components(each_node, each_child)
# => [[4], [2], [3], [1]]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
p TSort.strongly_connected_components(each_node, each_child)
# =>......[[4], [2, 3], [1]]
//}
@see TSort#strongly_connected_components... -
Tracer
. on -> nil (18109.0) -
トレース出力を開始します。 ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
...トレース出力を開始します。
ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
require 'tracer'
Tracer.on
class Test
def test
b = 2
end
end
t = Test.new
t.test
@see Tracer.off... -
Tracer
. on { . . . } (18109.0) -
トレース出力を開始します。 ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
...トレース出力を開始します。
ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
require 'tracer'
Tracer.on
class Test
def test
b = 2
end
end
t = Test.new
t.test
@see Tracer.off... -
Gem
:: Command . add _ common _ option(*args) {|value , options| . . . } (12301.0) -
全てのコマンドに共通するオプションを登録するためのメソッドです。
全てのコマンドに共通するオプションを登録するためのメソッドです。
@param args 追加するオプションの情報を指定します。 -
Thread
. abort _ on _ exception -> bool (12221.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...ad#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = true
Th......read.abort_on_exception # => true
//}... -
Thread
. abort _ on _ exception=(newstate) (12221.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...ad#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = true
Th......read.abort_on_exception # => true
//}...