359件ヒット
[1-100件を表示]
(0.088秒)
別のキーワード
ライブラリ
- ビルトイン (175)
-
irb
/ cmd / chws (11) -
irb
/ context (11) - json (22)
- monitor (16)
- openssl (33)
- rake (11)
-
rdoc
/ context (22) - thwait (36)
-
win32
/ registry (22)
クラス
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
JSON
:: State (22) - Monitor (16)
-
OpenSSL
:: X509 :: StoreContext (33) -
RDoc
:: Context (22) - Thread (175)
- ThreadsWait (36)
-
Win32
:: Registry (22)
モジュール
-
Rake
:: TaskManager (11)
キーワード
- [] (11)
- alive? (11)
-
all
_ waits (6) -
buffer
_ initial _ length (11) -
current
_ cert (11) -
current
_ crl (11) -
current
_ scope (11) -
current
_ section (11) - depth (11)
- empty? (6)
- execute (11)
- exit (11)
- fetch (7)
- finished? (6)
- group (11)
- inspect (11)
- join (6)
-
join
_ nowait (6) - key? (11)
- keys (11)
-
mon
_ exit (5) - name (11)
- priority (11)
- priority= (11)
-
safe
_ level (7) -
set
_ current _ section (11) -
set
_ trace _ func (11) - status (11)
- stop? (11)
- thread (11)
-
thread
_ variable? (11) -
thread
_ variable _ get (11) -
thread
_ variable _ set (11) - threads (6)
-
to
_ s (18) - verify (11)
検索結果
先頭5件
-
Rake
:: TaskManager # current _ scope -> Array (6108.0) -
現在のスコープを返します。
...現在のスコープを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.current_scope # => LL()
end
//}... -
OpenSSL
:: X509 :: StoreContext # current _ cert -> OpenSSL :: X509 :: Certificate (6102.0) -
直前に検証した証明書のオブジェクトを返します。
直前に検証した証明書のオブジェクトを返します。
OpenSSL::X509::StoreContext#verify で検証が失敗した場合は
証明書チェイン中で検証に失敗した証明書のオブジェクトを返します。
証明書チェインの各証明書検証後
コールバック(OpenSSL::X509::Store#verify_callback=)呼び出しに
渡される StoreContext オブジェクトにこのメソッドを呼び出すと
直前に検証した証明書を返します。
OpenSSL::X509::StoreContext#verify を呼ぶ前に
このメソッドを呼ぶと空の OpenSSL::X509::Ce... -
OpenSSL
:: X509 :: StoreContext # current _ crl -> OpenSSL :: X509 :: CRL | nil (6102.0) -
直前に検証に利用した CRL のオブジェクトを返します。
直前に検証に利用した CRL のオブジェクトを返します。
証明書チェインの各証明書検証後
コールバック(OpenSSL::X509::Store#verify_callback=)呼び出しに
渡される StoreContext オブジェクトにこのメソッドを呼び出すと
直前に検証に利用した CRL オブジェクトを返します。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (6102.0) -
現在の section を返します。
現在の section を返します。 -
RDoc
:: Context # set _ current _ section(title , comment) -> () (6102.0) -
Handle sections
Handle sections -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace # execute(*obj) -> obj (3001.0) -
irb の self を返します。
irb の self を返します。
@param obj 使用しません。 -
Thread
# [](name) -> object | nil (43.0) -
name に対応したスレッドに固有のデータを取り出します。 name に対応するスレッド固有データがなければ nil を返し ます。
...のキーを文字列か Symbol で指定します。
//emlist[例][ruby]{
[
Thread.new { Thread.current["name"] = "A" },
Thread.new { Thread.current[:name] = "B" },
Thread.new { Thread.current["name"] = "C" }
].each do |th|
th.join
puts "#{th.inspect}: #{th[:name]}"
end
# => #<Thread:0......す事に注意してください。
//emlist[][ruby]{
def meth(newvalue)
begin
oldvalue = Thread.current[:name]
Thread.current[:name] = newvalue
yield
ensure
Thread.current[:name] = oldvalue
end
end
//}
この関数に与えるブロックがFiberを切り替える場合は......は
正しく動作しません。
//emlist[][ruby]{
f = Fiber.new {
meth(1) {
Fiber.yield
}
}
meth(2) {
f.resume
}
f.resume
p Thread.current[:name]
# => nil if fiber-local
# => 2 if thread-local (The value 2 is leaked to outside of meth method.)
//}
Fiber を切り替えても同じ変... -
Thread
# thread _ variable _ get(key) -> object | nil (25.0) -
引数 key で指定した名前のスレッドローカル変数を返します。
...Thread.current.thread_variable_set("foo", "bar") # スレッドローカル
Thread.current["foo"] = "bar" # Fiber ローカル
Fiber.new {
Fiber.yield [
Thread.current.thread_variable_get("foo"), # スレッドローカル
Thread.current["foo"],... -
Thread
# set _ trace _ func(pr) -> Proc | nil (19.0) -
スレッドにトレース用ハンドラを設定します。
...を解除します。
設定したハンドラを返します。
//emlist[例][ruby]{
th = Thread.new do
class Trace
end
2.to_s
Thread.current.set_trace_func nil
3.to_s
end
th.set_trace_func lambda {|*arg| p arg }
th.join
# => ["line", "example.rb", 2, nil, #<Binding:0x00007fc8de87cb08>......=> ["line", "example.rb", 5, nil, #<Binding:0x00007fc8de967b08>, nil]
# => ["c-call", "example.rb", 5, :current, #<Binding:0x00007fc8de967798>, Thread]
# => ["c-return", "example.rb", 5, :current, #<Binding:0x00007fc8de9673b0>, Thread]
# => ["c-call", "example.rb", 5, :set_trace_func, #<Binding:0x0... -
JSON
:: State # buffer _ initial _ length -> Integer (17.0) -
This integer returns the current initial length of the buffer.
...This integer returns the current initial length of the buffer....