631件ヒット
[1-100件を表示]
(0.125秒)
ライブラリ
- ビルトイン (185)
-
irb
/ cmd / help (11) -
irb
/ extend-command (11) - logger (22)
- matrix (22)
- mkmf (22)
-
net
/ ftp (11) -
net
/ http (22) -
net
/ imap (44) -
net
/ smtp (44) - openssl (55)
- pathname (11)
- rake (11)
-
rubygems
/ package / tar _ input (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ specification (22) -
rubygems
/ user _ interaction (22) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (55)
- tsort (21)
クラス
-
Gem
:: Package :: TarInput (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Specification (22) -
Gem
:: StreamUI (11) - IPSocket (11)
-
IRB
:: ExtendCommand :: Help (11) - LocalJumpError (22)
- Logger (22)
- Matrix (22)
- Module (11)
-
Net
:: FTP (11) -
Net
:: HTTP (22) -
Net
:: IMAP (33) -
Net
:: IMAP :: Envelope (11) -
Net
:: SMTP (44) -
OpenSSL
:: X509 :: ExtensionFactory (55) - Pathname (11)
-
Rake
:: FileList (11) - Range (11)
-
RubyVM
:: InstructionSequence (9) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (22)
- String (22)
- ThreadGroup (11)
- Time (11)
- TracePoint (44)
- UDPSocket (11)
- UNIXSocket (11)
モジュール
- Enumerable (44)
-
Gem
:: UserInteraction (11) -
IRB
:: ExtendCommandBundle (11) - Kernel (22)
- TSort (21)
キーワード
- append (11)
-
choose
_ from _ list (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 (11)
-
each
_ strongly _ connected _ component _ from (21) - enable (22)
- enclose (11)
- encode! (22)
-
excluded
_ from _ list? (11) - execute (11)
-
exit
_ value (11) -
get
_ proxy _ from _ env (11) - include (11)
-
install
_ alias _ method (11) -
load
_ gemspec (11) -
loaded
_ from (11) -
loaded
_ from= (11) - mailfrom (11)
-
max
_ by (44) - minor (22)
-
proxy
_ from _ env= (11) -
proxy
_ from _ env? (11) - reason (11)
- recvfrom (33)
-
recvfrom
_ nonblock (22) -
relative
_ path _ from (11) - rename (29)
- search (11)
-
send
_ mail (11) - sendmail (11)
- strftime (11)
-
to
_ binary (9) -
uid
_ search (11)
検索結果
先頭5件
- Net
:: IMAP :: Envelope # from -> [Net :: IMAP :: Address] | nil - Net
:: SMTP # mailfrom(from _ addr) -> Net :: SMTP :: Response - Gem
:: StreamUI # choose _ from _ list(question , list) -> Array - TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator - TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> ()
-
Net
:: IMAP :: Envelope # from -> [Net :: IMAP :: Address] | nil (21218.0) -
From を Net::IMAP::Address オブジェクトの配列で返します。
...From を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。... -
Net
:: SMTP # mailfrom(from _ addr) -> Net :: SMTP :: Response (12308.0) -
MAILFROM コマンドを送ります。
...MAILFROM コマンドを送ります。
通常は Net::SMTP#send_message, Net::SMTP#open_message_stream で
MAILFROM が送られるため利用する必要はないはずです。
@param from_addr 送信元メールアドレス... -
Gem
:: StreamUI # choose _ from _ list(question , list) -> Array (12302.0) -
リストから回答を選択する質問をします。
...ら回答を選択する質問をします。
リストは質問の上に表示されます。
@param question 質問を指定します。
@param list 回答の選択肢を文字列の配列で指定します。
@return 選択肢の名称と選択肢のインデックスを要素とする配列... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (12221.0) -
node から到達可能な強連結成分についてのイテレータです。
...h_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//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_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_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| . . . } -> () (12221.0) -
node から到達可能な強連結成分についてのイテレータです。
...h_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//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_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_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... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (12214.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...le_name ファイル名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("test1.rb")
fil......e_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (12208.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory も相対パス、self......上でドライブが違うなど、base_directory から self への相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
Gem
:: Specification # loaded _ from -> String (12202.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # loaded _ from=(path) (12202.0) -
この Gem パッケージの gemspec がある場所をセットします。
この Gem パッケージの gemspec がある場所をセットします。
@param path この Gem パッケージの gemspec がある場所を指定します。 -
Gem
:: UserInteraction # choose _ from _ list(*args) -> Array (12202.0) -
リストから回答を選択する質問をします。
リストから回答を選択する質問をします。
@param args 委譲先のメソッドに与える引数です。
@return 選択肢の名称と選択肢のインデックスを要素とする配列を返します。