別のキーワード
ライブラリ
- ビルトイン (1410)
- bigdecimal (2)
-
cgi
/ core (44) -
cgi
/ session (55) -
cgi
/ session / pstore (11) - csv (330)
- e2mmap (12)
- fiddle (99)
- fileutils (11)
-
irb
/ input-method (11) - json (44)
- logger (35)
- monitor (27)
-
net
/ http (33) -
net
/ imap (11) -
net
/ telnet (8) - objspace (33)
- openssl (396)
- optparse (495)
- prime (33)
- pstore (11)
- psych (99)
- rake (154)
-
rake
/ loaders / makefile (11) -
rake
/ packagetask (33) -
rdoc
/ context (11) -
rdoc
/ generator / json _ index (11) -
rdoc
/ markdown (11) -
rdoc
/ parser (11) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) - resolv (11)
- rexml (11)
-
rexml
/ document (165) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rexml
/ parsers / ultralightparser (11) -
rinda
/ tuplespace (11) - ripper (11)
-
ripper
/ filter (11) -
ripper
/ sexp (22) -
rubygems
/ command (11) -
rubygems
/ dependency _ installer (11) -
rubygems
/ installer (11) -
rubygems
/ package (11) -
rubygems
/ package / tar _ input (11) -
rubygems
/ package / tar _ output (11) -
rubygems
/ package / tar _ reader (22) -
rubygems
/ package / tar _ writer (33) -
rubygems
/ requirement (33) -
rubygems
/ security (11) -
rubygems
/ server (11) -
rubygems
/ source _ index (11) -
rubygems
/ uninstaller (11) -
rubygems
/ user _ interaction (44) -
rubygems
/ version (110) - shell (6)
-
shell
/ builtin-command (6) -
shell
/ command-processor (6) -
shell
/ filter (24) - socket (99)
- stringio (336)
- tempfile (30)
- thread (8)
-
webrick
/ cgi (11) -
webrick
/ httpresponse (44) -
webrick
/ httpserver (22) -
webrick
/ httpservlet / abstract (33) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpversion (33) -
webrick
/ log (11) -
win32
/ registry (55) - win32ole (66)
- zlib (154)
クラス
- Array (27)
- BasicSocket (11)
- BigDecimal (2)
- CGI (22)
-
CGI
:: Session (22) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (275)
-
CSV
:: Table (22) -
Encoding
:: Converter (99) -
Encoding
:: UndefinedConversionError (11) - Enumerator (11)
- Exception (44)
- Fiber (5)
-
Fiddle
:: Closure (11) -
Fiddle
:: Closure :: BlockCaller (11) -
Fiddle
:: Function (77) - File (44)
-
Gem
:: Command (11) -
Gem
:: DependencyInstaller (11) -
Gem
:: FileOperations (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: Package :: TarOutput (11) -
Gem
:: Package :: TarReader (22) -
Gem
:: Package :: TarWriter (11) -
Gem
:: Package :: TarWriter :: BoundedStream (11) -
Gem
:: Package :: TarWriter :: RestrictedStream (11) -
Gem
:: Requirement (33) -
Gem
:: Security :: Policy (11) -
Gem
:: Server (11) -
Gem
:: SourceIndex (11) -
Gem
:: Uninstaller (11) -
Gem
:: Version (99) - IO (708)
-
IRB
:: StdioInputMethod (11) - Integer (11)
-
JSON
:: Parser (11) -
JSON
:: State (33) - Logger (22)
-
Logger
:: Application (1) -
Logger
:: LogDevice (11) - Method (11)
- Monitor (5)
-
Net
:: HTTP (11) -
Net
:: HTTPGenericRequest (22) -
Net
:: IMAP (11) -
Net
:: Telnet (6) - Object (11)
-
OpenSSL
:: PKCS12 (11) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: PKey :: DH (33) -
OpenSSL
:: PKey :: DSA (44) -
OpenSSL
:: PKey :: RSA (55) -
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: SSL :: SSLSocket (22) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: CRL (22) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Extension (22) -
OpenSSL
:: X509 :: ExtensionFactory (55) -
OpenSSL
:: X509 :: Request (22) - OptionParser (484)
- PStore (11)
- Prime (22)
-
Psych
:: Emitter (11) -
Psych
:: Nodes :: Document (33) -
Psych
:: Stream (11) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: Context :: Section (11) -
RDoc
:: Generator :: JsonIndex (11) -
RDoc
:: Markdown (11) -
RDoc
:: Options (11) -
RDoc
:: Parser (11) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
REXML
:: Child (11) -
REXML
:: DocType (11) -
REXML
:: Document (33) -
REXML
:: Formatters :: Pretty (11) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (33) -
REXML
:: NotationDecl (11) -
REXML
:: Parsers :: PullParser (11) -
REXML
:: Parsers :: SAX2Parser (11) -
REXML
:: Parsers :: StreamParser (11) -
REXML
:: Parsers :: UltraLightParser (11) -
REXML
:: XMLDecl (22) -
Rake
:: Application (11) -
Rake
:: FileList (88) -
Rake
:: InvocationChain (44) -
Rake
:: MakefileLoader (11) -
Rake
:: PackageTask (33) - Regexp (33)
-
Resolv
:: DNS :: Resource :: IN :: SRV (11) -
Rinda
:: TupleSpace (11) - Ripper (33)
-
Ripper
:: Filter (11) -
RubyVM
:: InstructionSequence (33) - Shell (6)
-
Shell
:: AppendIO (6) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (24) - SignalException (33)
- Socket (55)
-
Socket
:: Option (11) - StopIteration (11)
- String (11)
- StringIO (325)
- Tempfile (30)
- Thread (109)
-
Thread
:: Backtrace :: Location (44) -
Thread
:: ConditionVariable (33) - TracePoint (17)
- UDPSocket (11)
- UNIXServer (11)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: CGI (11) -
WEBrick
:: HTTPResponse (44) -
WEBrick
:: HTTPServer (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (33) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPVersion (33) -
WIN32OLE
_ PARAM (11) -
WIN32OLE
_ TYPE (22) -
WIN32OLE
_ TYPELIB (33) -
Win32
:: Registry (55) -
Zlib
:: Deflate (33) -
Zlib
:: GzipReader (22) -
Zlib
:: GzipWriter (33) -
Zlib
:: Inflate (11)
モジュール
-
CGI
:: QueryExtension (22) - Exception2MessageMapper (12)
- FileUtils (11)
-
Gem
:: DefaultUserInteraction (44) - Kernel (46)
- Marshal (44)
- MonitorMixin (11)
- ObjectSpace (33)
- Psych (22)
- Rake (11)
- Zlib (33)
キーワード
-
$ stdin (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (6)
- <=> (22)
- == (11)
- === (11)
- =~ (11)
- > (6)
- >> (6)
- Application (1)
-
BEST
_ COMPRESSION (11) - CSV (11)
- Complex (12)
- ConditionVariable (22)
- DEFAULT (11)
-
DEFAULT
_ COMPRESSION (11) -
DEFAULT
_ VERSION (11) - ExtensionFactory (11)
- Fail (6)
- Float (6)
- GzipReader (11)
- GzipWriter (11)
- Instruction (11)
- Integer (6)
- Location (11)
-
MAJOR
_ VERSION (11) -
MINOR
_ VERSION (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) -
NO
_ COMPRESSION (11) - NotationDecl (11)
- OptionParser (11)
- ParseException (11)
- Raise (6)
- Rational (22)
- STDCALL (11)
- Stream (11)
- StringIO (11)
- Telnet (2)
- Thread (11)
- UndefinedConversionError (11)
- Version (11)
- abi (11)
-
abort
_ on _ exception (11) -
abort
_ on _ exception= (22) -
absolute
_ path (11) - accept (22)
-
accept
_ nonblock (11) -
add
_ loader (11) -
alias
_ extension (11) -
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - append (11)
- application= (11)
-
backtrace
_ locations (33) -
base
_ label (11) - body= (11)
-
body
_ stream (11) -
body
_ stream= (11) - broadcast (11)
- bump (11)
- bytes (14)
- call (11)
-
cgi
/ session (11) - close (11)
- closed? (11)
- compile (22)
-
compile
_ option= (11) - configure (11)
-
connect
_ nonblock (11) - content (11)
-
content
_ length (11) -
content
_ length= (11) - crl= (11)
- csv (11)
-
default
_ argv (11) -
default
_ argv= (11) - deflate (11)
-
destination
_ encoding (11) - display (11)
- disposition (11)
-
do
_ OPTIONS (11) - dump (44)
- each (88)
-
each
_ byte (22) -
each
_ char (22) -
each
_ line (88) - egrep (11)
- environment (11)
- eof (11)
- eof? (11)
-
error
_ char (11) - exception (11)
-
excluded
_ from _ list? (11) - existing (11)
- existing! (11)
- ext (11)
- fiddle (11)
- filter (33)
-
for
_ fd (11) - foreach (11)
- generate (11)
-
generate
_ line (11) -
get
_ instance (11) - getbyte (22)
- getc (22)
- getopts (44)
- gets (55)
- gsub! (11)
- header (11)
- help (11)
-
http
_ version (11) - import (11)
- inspect (22)
- instance (22)
-
instruction
_ sequence (6) - io (11)
-
irb
/ completion (11) - isatty (11)
-
issuer
_ certificate= (11) -
last
_ error (11) - lineno (11)
- lineno= (11)
- lines (14)
- link (11)
- load (22)
-
major
_ version (22) -
marshal
_ dump (11) -
marshal
_ load (11) - member? (11)
- merge (11)
-
minor
_ version (22) - mount (11)
- multipart? (11)
- name (11)
- new (1178)
-
new
_ cond (16) -
new
_ session (11) -
next
_ values (11) -
on
_ head (11) -
on
_ tail (11) - open (174)
- optional? (11)
- order (44)
- order! (22)
- out (29)
- pack (16)
-
package
_ files (11) -
package
_ files= (11) - params (11)
- parse (55)
- parse! (11)
-
parse
_ csv (11) -
parse
_ line (11) -
parse
_ stream (11) - path (2)
- permute (22)
- permute! (11)
- pipe (88)
- popen (154)
- pos= (11)
- preprocess (2)
- prerelease? (11)
-
previous
_ sibling= (11) -
prime
_ division (33) -
primitive
_ convert (44) - print (22)
- printf (11)
- priority (11)
- priority= (11)
-
program
_ name (11) -
program
_ name= (11) - ptr (11)
- puts (11)
- raise (5)
-
raised
_ exception (11) - read (11)
- readbyte (11)
- readchar (22)
- readline (55)
- readlines (22)
-
recvfrom
_ nonblock (11) - reject (22)
- release (22)
-
renegotiation
_ cb= (11) - reopen (55)
-
report
_ on _ exception (16) -
report
_ on _ exception= (16) - resolve (11)
- result (11)
- rewind (44)
- rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ specification (11) - run (11)
-
satisfied
_ by? (11) -
search
_ convpath (11) - seek (11)
- separator (11)
-
session
_ new _ cb (11) -
session
_ new _ cb= (11) -
set
_ dictionary (22) - setsockopt (11)
- sexp (11)
-
sexp
_ raw (11) - shift (11)
- signal (11)
-
source
_ location (11) -
ssl
_ version= (22) - string (11)
-
subject
_ certificate= (11) -
subject
_ request= (11) - summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) - sync= (22)
- table (11)
- target (11)
-
tcp
_ server _ loop (22) -
test
/ unit (1) -
to
_ a (11) -
to
_ csv (22) -
to
_ io (11) -
to
_ path (2) -
to
_ s (66) -
trace
_ object _ allocations (11) - transaction (11)
- truncate (11)
- tty? (11)
- ui= (22)
- ungetbyte (11)
- ungetc (22)
- unix (22)
- uptodate? (11)
-
use
_ ui (22) - ver (11)
- version (44)
- version= (11)
- write (22)
- yaml (11)
- スレッド (11)
- セキュリティモデル (11)
- 制御構造 (11)
検索結果
先頭5件
-
Thread
. report _ on _ exception -> bool (6106.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...を $stderr に報告します。
デフォルトは false です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block......や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception = false でレポートを無効化しても
安全です。しかし、この場合、例外をハンドルするのが遅れたり、親スレ......とができなかったりするかもしれません。
スレッドごとに設定する方法は Thread#report_on_exception= を参照してください。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定し......を $stderr に報告します。
デフォルトは true です。
Thread.new { 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block... -
WIN32OLE
_ TYPE # major _ version -> Integer (6106.0) -
型のメジャーバージョン番号を取得します。
...取得します。
@return 型のメジャーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError 型属性の読み取りに失敗すると通知します。
tobj = WIN32OLE_TYPE.new('Microsoft Word 14.0 Object Library', 'Documents')
p tobj.major_version # => 8... -
WIN32OLE
_ TYPE # minor _ version -> Integer (6106.0) -
型のマイナーバージョン番号を取得します。
...取得します。
@return 型のマイナーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError 型属性の読み取りに失敗すると通知します。
tobj = WIN32OLE_TYPE.new('Microsoft Word 14.0 Object Library', 'Documents')
p tobj.minor_version # => 5... -
WIN32OLE
_ TYPELIB # major _ version -> Integer (6106.0) -
TypeLibのメジャーバージョン番号を取得します。
...取得します。
@return TypeLibのメジャーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.major_version # => 1... -
WIN32OLE
_ TYPELIB # minor _ version -> Integer (6106.0) -
TypeLibのマイナーバージョン番号を取得します。
...取得します。
@return TypeLibのマイナーバージョン番号を整数で返します。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.minor_version # => 7... -
WIN32OLE
_ TYPELIB # version -> Float (6106.0) -
TypeLibのバージョン番号を取得します。
...号、小数点
数部にマイナーバージョン番号を設定したFloatで返します。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.version # => 1.7... -
Win32
:: Registry # disposition (6106.0) -
@todo
...@todo
キーの disposition 値を返します。
(REG_CREATED_NEW_KEY または REG_OPENED_EXISTING_KEY)... -
NEWS for Ruby 2
. 5 . 0 (6096.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.5.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......非推奨になりました。C拡張のベースクラスでしたが、Rubyレベルに公開するのをやめました。3072
* Exception
* Exception#full_message を追加 14141 [実験的]
例外の文字列表現を取得します。その文字列は捕捉されない例外をRu......Dir.glob :base というキーワード引数を追加しました 13056
* Dir.chdir (ブロックなしで呼び出した場合), Dir.open, Dir.new, Dir.mkdir, Dir.rmdir,
Dir.empty? はGVLを解放するようになりました
* Dir.children を追加 11302
* Dir.each_child を... -
NEWS for Ruby 2
. 6 . 0 (6090.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.6.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......れるときに、
例外の Exception#cause も表示されるようになりました。 8257
* フリップフロップが非推奨になりました。 5400
=== 組み込みクラスの更新
* Array
* 新規メソッド
* Array#union と Array#difference 14097
* 変更......* Array#filter! が Array#select! の別名として追加されました。 13784
* Binding
* 新規メソッド
* Binding#source_location 追加 14230
* bindingのソースコード上の位置を __FILE__ と __LINE__ の二要素配列として返します。
従... -
NEWS for Ruby 2
. 2 . 0 (6078.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.2.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......た。
* 改善: メジャーGCにインクリメンタルマーキングを導入しました。 10137
* IO
* 改善: Windows上でパイプのための IO#read_nonblock, IO#write_nonblock をサポートしました。
* Kernel
* 追加: Kernel.#itself(Object#itself)
* 改善......るポリシーを変更しました 10315
{ **hash1, **hash2 } は重複するキーについては hash2 の値を持ちます
* IO
* 非互換: IO#flush を使ったとき、ファイルのメタデータが即時更新されることを仮定できなくなりました。
い... -
NEWS for Ruby 2
. 1 . 0 (6066.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.1.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......i'という接尾辞を付けられるようになりました
//emlist{
# r を付けると有理数になる
42r # => Rational(42, 1)
3.14 # => 3.14.rationalize
6.022e+23r # 指数形式と一緒には使えない
# i を付けると虚数単位 i を掛けた数になる......_defined?
* Enumerable
* 追加: Enumerable#to_h キーと値のペアのリストをハッシュに変換します。
* Exception
* 追加: Exception#cause 一つ前の例外を新しい例外を返します。
例外を rescue して raise しなおしたときに元の例外...