689件ヒット
[1-100件を表示]
(0.118秒)
ライブラリ
- ビルトイン (204)
-
irb
/ cmd / help (12) -
irb
/ extend-command (12) - logger (24)
- matrix (24)
- mkmf (24)
-
net
/ ftp (12) -
net
/ http (24) -
net
/ imap (48) -
net
/ smtp (48) - openssl (60)
- pathname (12)
- rake (12)
-
rubygems
/ package / tar _ input (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (60)
- tsort (23)
クラス
-
Gem
:: Package :: TarInput (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Specification (24) -
Gem
:: StreamUI (12) - IPSocket (12)
-
IRB
:: ExtendCommand :: Help (12) - LocalJumpError (24)
- Logger (24)
- Matrix (24)
- Module (12)
-
Net
:: FTP (12) -
Net
:: HTTP (24) -
Net
:: IMAP (36) -
Net
:: IMAP :: Envelope (12) -
Net
:: SMTP (48) -
OpenSSL
:: X509 :: ExtensionFactory (60) - Pathname (12)
-
Rake
:: FileList (12) - Range (14)
-
RubyVM
:: InstructionSequence (10) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (24)
- String (24)
- ThreadGroup (12)
- Time (12)
- TracePoint (48)
- UDPSocket (12)
- UNIXSocket (12)
モジュール
- Enumerable (48)
-
Gem
:: UserInteraction (12) -
IRB
:: ExtendCommandBundle (12) - Kernel (24)
- TSort (23)
キーワード
- append (12)
-
choose
_ from _ list (24) -
convertible
_ int (24) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) - debug (24)
- disable (24)
- each (12)
-
each
_ strongly _ connected _ component _ from (23) - enable (24)
- enclose (12)
- encode! (24)
-
excluded
_ from _ list? (12) - execute (12)
-
exit
_ value (12) -
get
_ proxy _ from _ env (12) - include (12)
-
install
_ alias _ method (12) -
load
_ gemspec (12) -
loaded
_ from (12) -
loaded
_ from= (12) - mailfrom (12)
-
max
_ by (48) - minor (24)
-
proxy
_ from _ env= (12) -
proxy
_ from _ env? (12) - reason (12)
- recvfrom (36)
-
recvfrom
_ nonblock (24) -
relative
_ path _ from (12) - rename (30)
-
reverse
_ each (2) - search (12)
-
send
_ mail (12) - sendmail (12)
- strftime (12)
-
to
_ binary (10) -
uid
_ search (12)
検索結果
先頭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 がある場所を指定します。