548件ヒット
[501-548件を表示]
(0.073秒)
ライブラリ
- ビルトイン (199)
- csv (28)
- dbm (12)
- gdbm (12)
- matrix (26)
-
minitest
/ spec (1) -
minitest
/ unit (1) -
net
/ http (24) - pathname (18)
- pp (12)
- psych (12)
- rake (72)
-
rexml
/ document (24) -
rexml
/ parsers / pullparser (24) -
rubygems
/ package / tar _ header (12) - sdbm (12)
- set (9)
- strscan (24)
- thread (14)
- thwait (12)
クラス
- Array (16)
-
CSV
:: Row (12) -
CSV
:: Table (12) - DBM (12)
-
Encoding
:: Converter (60) - GDBM (12)
-
Gem
:: Package :: TarHeader (12) - Hash (12)
- Matrix (26)
-
Net
:: HTTP (24) - Object (13)
- Pathname (18)
-
Psych
:: Handler (12) -
REXML
:: Elements (12) -
REXML
:: Parsers :: PullParser (24) -
REXML
:: Text (12) -
Rake
:: InvocationChain (36) -
Rake
:: InvocationChain :: EmptyInvocationChain (36) - SDBM (12)
- Set (12)
- String (12)
- StringScanner (24)
- Symbol (12)
-
Thread
:: Queue (58) -
Thread
:: SizedQueue (44) - ThreadsWait (12)
モジュール
キーワード
- antisymmetric? (7)
- append (24)
-
assert
_ empty (1) - close (10)
-
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) - deq (24)
- empty? (227)
- eos? (12)
-
has
_ next? (12) - member? (24)
-
must
_ be _ empty (1) -
next
_ wait (6) - pop (24)
-
pretty
_ print _ cycle (12) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - shift (24)
-
skew
_ symmetric? (7) -
to
_ csv (4) -
to
_ s (24) - zero? (9)
検索結果
先頭5件
-
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (7.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...た場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: InvocationChain # member?(task _ name) -> bool (7.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.member?("task_a") # => true
invocation_chain.member?("task_b") # => false
end
//}... -
Rake
:: InvocationChain # to _ s -> String (7.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...の依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//}... -
Thread
:: Queue # close -> self (7.0) -
キューを close します。close 済みのキューを再度 open することはできません。
...を返します
* Thread::Queue#close は無視されます
* Thread::Queue#enq/push/<< は ClosedQueueError を発生します
* Thread::Queue#empty? が false を返す場合は Thread::Queue#deq/pop/shift は通常通りオブジェクトを返します
また、ClosedQueueError は StopIter... -
ThreadsWait
# next _ wait(nonblock = nil) -> Thread (7.0) -
指定したスレッドのどれかが終了するまで待ちます。
...rue でかつ、キューが空の時、発生します。
#使用例
require 'thwait'
threads = []
2.times {|i|
threads << Thread.new { sleep i }
}
thall = ThreadsWait.new
thall.join_nowait(*threads)
until thall.empty?
th = thall.next_wait
p th
end
@see Queue#pop...