るりまサーチ

最速Rubyリファレンスマニュアル検索!
590件ヒット [201-300件を表示] (0.154秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. pop n_bytes
  5. openssl n

検索結果

<< < 1 2 3 4 5 ... > >>

REXML::Child#next_sibling=(other) (12208.0)

other を self の次の隣接ノードとします。

...ther を挿入します。

@param other 挿入するノード

//emlist[][ruby]{
require 'rexml/document'

a = REXML::Element.new("a")
b = a.add_element("b")
c = REXML::Element.new("c")
b.next_sibling = c
d = REXML::Element.new("d")
b.previous_sibling = d

p a.to_s # => "<a><d/><b/><c/></a>"
//}...

ThreadsWait#next_wait(nonblock = nil) -> Thread (12208.0)

指定したスレッドのどれかが終了するまで待ちます。

...で待ちます。

@param nonblock true を与えると、キューが空の時、例外 ThreadsWait::ErrNoFinishedThread が発生します。

@raise ErrNoWaitingThread 終了をまつスレッドが存在しない時、発生します。

@raise ErrNoFinishedThread nonblock がtrue でかつ、...
...キューが空の時、発生します。

#使用例
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...

OpenSSL::X509::CRL#next_update -> Time (12202.0)

CRL の次回更新日時を Time オブジェクトで返します。

CRL の次回更新日時を Time オブジェクトで返します。

REXML::Parsers::PullParser#has_next? -> bool (12202.0)

未処理のイベントが残っている場合に真を返します。

未処理のイベントが残っている場合に真を返します。

@see REXML::Parsers::PullParser#empty?

Racc::Parser#next_token (12202.0)

@todo

@todo

絞り込み条件を変える

String#next! -> String (12202.0)

self を「次の」文字列に置き換えます。 「次の」文字列は、アルファベットなら 16 進数、 数字なら 10 進数とみなして計算されます。 「次の」文字列の計算では "99" → "100" のように繰り上げも行われます。 このとき負符号などは考慮されません。

...# => "-10"
p "9".succ # => "10"
p "09".succ # => "10"

# アルファベット・数字とそれ以外の混在
p "1.9.9".succ # => # "2.0.0"

# アルファベット・数字以外のみ
p ".".succ # => "/"
p "\0".succ # => "\001"
p "\377".succ # => "\001\000"
//}

@see String#succ...

Zlib::ZStream#flush_next_in -> String (12202.0)

入力バッファに残っているデータを強制的に取り出します。

入力バッファに残っているデータを強制的に取り出します。

Zlib::ZStream#flush_next_out -> String (12202.0)

出力バッファに残っているデータを強制的に取り出します。

出力バッファに残っているデータを強制的に取り出します。

Prime::EratosthenesGenerator#succ -> Integer (12120.0)

次の(擬似)素数を返します。なお、この実装においては擬似素数は真に素数です。

...いては擬似素数は真に素数です。

また内部的な列挙位置を進めます。

//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.succ #=> 5
p generator.succ #=> 7
p generator.next #=> 11
//}...

Prime::EratosthenesGenerator#rewind -> nil (9125.0)

列挙状態を巻き戻します。

...列挙状態を巻き戻します。

//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.next #=> 5

generator.rewind

p generator.next #=> 2
//}...

絞り込み条件を変える

<< < 1 2 3 4 5 ... > >>