ライブラリ
- English (24)
- ビルトイン (575)
-
net
/ http (24) - optparse (24)
- pathname (12)
- set (9)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - shellwords (36)
- socket (132)
- thread (16)
- thwait (18)
- tsort (23)
- uri (12)
-
webrick
/ httputils (12) - win32ole (36)
- zlib (36)
クラス
- Array (75)
- BasicObject (24)
- Dir (24)
- File (12)
- IO (12)
- Mutex (4)
- OptionParser (24)
- Pathname (12)
- Set (12)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (72)
- String (31)
- Thread (182)
-
Thread
:: Mutex (20) -
Thread
:: Queue (48) -
Thread
:: SizedQueue (36) - ThreadsWait (18)
-
WIN32OLE
_ VARIABLE (12) -
Zlib
:: Deflate (24) -
Zlib
:: Inflate (12)
モジュール
- Enumerable (84)
- Kernel (36)
-
Net
:: HTTPHeader (24) - Shellwords (24)
-
Socket
:: Constants (48) - TSort (23)
- URI (12)
-
WEBrick
:: HTTPUtils (12)
キーワード
-
$ , (12) -
$ OFS (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) - * (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ConditionVariable (12)
- Enumerator (12)
- Fiber (12)
-
IPV6
_ JOIN _ GROUP (24) -
IP
_ MAX _ MEMBERSHIPS (24) -
MCAST
_ JOIN _ GROUP (24) -
MCAST
_ JOIN _ SOURCE _ GROUP (24) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) - TCPServer (12)
- WIN32OLE (12)
-
WIN32OLE
_ METHOD (12) - [] (20)
-
_ _ send _ _ (24) -
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) -
add
_ trace _ func (12) - binwrite (12)
-
canonical
_ each (12) - cgi (12)
- chunk (12)
-
chunk
_ while (12) - deflate (12)
- deq (24)
- disjoint? (12)
-
each
_ capitalized (12) -
each
_ strongly _ connected _ component _ from (23) - escape (12)
- fetch (8)
- glob (16)
-
join
_ nowait (6) - load (12)
-
next
_ wait (6) -
num
_ waiting (12) -
ole
_ type _ detail (12) -
on
_ tail (12) - owned? (12)
- pack (21)
- pack テンプレート文字列 (12)
- pop (24)
-
rb
_ thread _ join (12) -
rb
_ thread _ join _ m (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
rinda
/ rinda (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) - run (12)
-
set
_ dictionary (24) -
set
_ trace _ func (12) - shelljoin (24)
- shift (24)
-
slice
_ after (24) -
slice
_ before (24) -
slice
_ when (12) - split (19)
- stop (12)
- sum (18)
-
thread
_ variable _ get (12) - tsort (12)
- unix (24)
- unlock (12)
- unpack (12)
- value (12)
検索結果
先頭5件
-
NEWS for Ruby 2
. 0 . 0 (26018.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......トは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 1.9.3 以降の変更
=== 言語仕様の変更
* キーワード引数を追加しました
* %i, %I をシンボルの配列作成のために追加しました。(%w, %W に似ています)
*......backtrace_locations Kernel#caller_locations に似た情報を返します
* 新規クラス: Thread::Backtrace::Location to hold backtrace location
information. These are returned by Thread#backtrace_locations and
Kernel#caller_locations
* 非互換: Thread#join, Thread#value... -
NEWS for Ruby 3
. 0 . 0 (26018.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 3.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......ord arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matche......ing operations and Fiber.scheduler for accessing the current scheduler. See rdoc-ref:fiber.md for more details about what operations are supported and how to implement the scheduler hooks. 16786
* Fiber.blocking? tells whether the current execution context is blocking. 16786
* Thread#join in... -
NEWS for Ruby 2
. 7 . 0 (26012.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.7.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.6.0 以降の変更
=== 言語仕様の変更
==== パターンマッチ
* パターンマッチが実験的機能として導入されました。 14912
//emlist[][ruby]{
case [0, [1, 2, 3]]
in [a, [b......14240
nil以外の時はString#splitで参照した時も警告が出ます。
この警告は「-W:no-deprecated」オプションで止められます。
* 「$,」にnil以外の値を設定すると警告が出るようになりました。 14240
nil以外の時はArray#joinで... -
Thread
# join -> self (24274.0) -
スレッド self の実行が終了するまで、カレントスレッドを停止し ます。self が例外により終了していれば、その例外がカレントス レッドに対して発生します。
...場合、nil を返します。
@param limit タイムアウトする時間を整数か小数で指定します。単位は秒です。
@raise ThreadError join を実行することによってデッドロックが起きる場合に発生します。またカレントスレッドを join したと......。
以下は、生成したすべてのスレッドの終了を待つ例です。
threads = []
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.each {|t| t.join}... -
Thread
# join(limit) -> self | nil (24274.0) -
スレッド self の実行が終了するまで、カレントスレッドを停止し ます。self が例外により終了していれば、その例外がカレントス レッドに対して発生します。
...場合、nil を返します。
@param limit タイムアウトする時間を整数か小数で指定します。単位は秒です。
@raise ThreadError join を実行することによってデッドロックが起きる場合に発生します。またカレントスレッドを join したと......。
以下は、生成したすべてのスレッドの終了を待つ例です。
threads = []
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.push(Thread.new { n = rand(5); sleep n; n })
threads.each {|t| t.join}... -
File
. join(*item) -> String (24249.0) -
File::SEPARATORを間に入れて文字列を連結します。platform/DOSISH-supportで環境依存になる予定です。
...ArgumentError 引数の中に、配列要素が自身を含むような無限にネストした配列や、
ヌル文字を含む文字列が存在した場合に発生します。
//emlist[例][ruby]{
File.join("a","b") # => "a/b"
File.join("a/","......> "a/b"
File.join("a/","/b") # => "a/b"
File.join("a","/b") # => "a/b"
File.join("a", ["b", ["c", ["d"]]]) # => "a/b/c/d"
File.join("", "a", ["b", ["c", ["d"]]]) # => "/a/b/c/d"
File.join([]) # => ""
File.join... -
Array
# join(sep = $ , ) -> String (24231.0) -
配列の要素を文字列 sep を間に挟んで連結した文字列を返します。
...して)
join した文字列を連結します。
ただし、配列要素が自身を含むような無限にネストした配列に対しては、以下
のような結果になります。
//emlist[例][ruby]{
ary = [1,2,3]
ary.push ary
p ary # => [1, 2, 3, [...]]
p ary.join # =>......ArgumentError: recursive array join
//}
@param sep 間に挟む文字列を指定します。nil のときは空文字列を使います。
文字列以外のオブジェクトを指定した場合は to_str メソッドによ
る暗黙の型変換を試みます。
@raise T......を指定した場合に発生します。
@raise ArgumentError 配列要素が自身を含むような無限にネストした配列に対
して join を呼んだ場合に発生します。
//emlist[例][ruby]{
[1, 2, 3].join('-') #=> "1-2-3"
//}
@see Array#*, $,... -
Pathname
# join(*args) -> Pathname (24207.0) -
与えられたパス名を連結します。
...{
require "pathname"
path0 = Pathname("/usr") # Pathname:/usr
path0 = path0.join("bin/ruby") # Pathname:/usr/bin/ruby
# 上記の path0 の処理は下記の path1 と同様のパスになります
path1 = Pathname("/usr") + "bin/ruby" # Pathname:/usr/bin/ruby
path0 ==... -
Shell
# join(*item) -> String (24207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join... -
Shell
:: CommandProcessor # join(*item) -> String (24207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join... -
Shell
:: Filter # join(*item) -> String (24207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join...