ライブラリ
- ビルトイン (476)
-
cgi
/ core (60) -
cgi
/ session (12) - coverage (8)
- csv (12)
- date (36)
- delegate (24)
- fileutils (24)
- gdbm (24)
-
io
/ nonblock (36) -
irb
/ context (204) -
irb
/ ext / math-mode (8) -
irb
/ ext / tracer (24) -
irb
/ ext / use-loader (24) - json (96)
- kconv (48)
- matrix (48)
- mkmf (72)
- monitor (92)
-
net
/ ftp (36) -
net
/ http (48) -
net
/ imap (24) - openssl (156)
- optparse (12)
- pp (24)
- psych (24)
- rake (36)
-
rdoc
/ context (12) -
rdoc
/ markdown (24) -
rdoc
/ parser (12) - readline (24)
-
rexml
/ document (12) -
rexml
/ parsers / pullparser (24) - rubygems (12)
-
rubygems
/ command (12) -
rubygems
/ config _ file (60) -
rubygems
/ installer (12) -
rubygems
/ requirement (48) -
rubygems
/ security (24) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (96) -
rubygems
/ user _ interaction (24) -
rubygems
/ version (32) -
shell
/ process-controller (30) - socket (108)
-
webrick
/ httpauth / basicauth (12) -
webrick
/ httpresponse (36) -
webrick
/ httpservlet / filehandler (12) - win32ole (24)
クラス
- Array (42)
- BasicSocket (36)
-
CGI
:: Session (12) - CSV (12)
- Class (12)
- Coverage (8)
- Date (36)
- Delegator (24)
-
Encoding
:: InvalidByteSequenceError (12) - Exception (20)
- GDBM (24)
-
Gem
:: Command (12) -
Gem
:: ConfigFile (60) -
Gem
:: Installer (12) -
Gem
:: Requirement (48) -
Gem
:: Security :: Policy (24) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (96) -
Gem
:: StreamUI (12) -
Gem
:: Version (32) - IO (60)
-
IRB
:: Context (260) -
JSON
:: State (60) - Matrix (36)
-
Matrix
:: LUPDecomposition (12) - Module (24)
- Monitor (40)
-
MonitorMixin
:: ConditionVariable (12) -
Net
:: FTP (36) -
Net
:: HTTP (24) -
Net
:: HTTPGenericRequest (12) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (24) - Object (36)
-
OpenSSL
:: BN (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: PKey :: EC :: Point (12) -
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: Extension (36) -
OpenSSL
:: X509 :: StoreContext (12) - OptionParser (12)
- PP (24)
-
Psych
:: Emitter (24) -
RDoc
:: Context :: Section (12) -
RDoc
:: Markdown (24) -
RDoc
:: Options (168) -
RDoc
:: Parser (12) -
REXML
:: Instruction (12) -
REXML
:: Parsers :: PullEvent (24) -
Rake
:: FileCreationTask (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) - Rational (30)
-
Shell
:: ProcessController (30) -
Socket
:: Option (72) - String (12)
- Thread (104)
- Time (12)
-
WEBrick
:: HTTPAuth :: BasicAuth (12) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) - WIN32OLE (12)
-
WIN32OLE
_ PARAM (12)
モジュール
-
CGI
:: QueryExtension (60) - Enumerable (88)
- FileUtils (24)
-
Gem
:: LocalRemoteOptions (36) -
Gem
:: UserInteraction (12) - JSON (24)
- Kconv (48)
- Kernel (156)
- MonitorMixin (40)
- OpenSSL (24)
- Readline (24)
キーワード
-
$ -d (12) -
$ DEBUG (12) - == (60)
- === (24)
- =~ (12)
-
JSON
_ LOADED (12) -
VARIANT
_ BINARY (12) -
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) -
active
_ job? (6) -
active
_ jobs _ exist? (6) -
alias
_ extension (12) -
all
_ one _ file (12) -
allow
_ nan? (12) -
ascii
_ only? (24) -
ask
_ yes _ no (24) - authenticate (12)
-
auto
_ indent _ mode (12) - backtrace (12)
- begins? (12)
- benchmark (12)
- binary= (12)
-
body
_ permitted? (12) - both? (12)
-
break
_ on _ newline (12) - canonical (12)
- canonical= (12)
-
check
_ circular? (12) - chunked? (12)
-
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) -
close
_ on _ exec= (12) -
close
_ on _ exec? (12) -
completion
_ case _ fold (12) -
completion
_ case _ fold= (12) -
const
_ defined? (12) - correct? (8)
- critical= (12)
- critical? (12)
- data (12)
- debug (24)
- debug? (12)
-
debug
_ mode= (12) -
definition
_ lists (12) - diagonal? (12)
- diagram (12)
- disconnected? (12)
-
dry
_ run (12) - echo (12)
- echo? (12)
-
enable
_ config (24) - eql? (12)
- fastmode= (12)
-
file
_ input? (12) - fileboxes (12)
-
fips
_ mode= (12) -
force
_ output (12) -
force
_ update (12) - gem (12)
- getsockopt (12)
-
has
_ key? (12) -
has
_ rdoc (12) -
has
_ rdoc? (12) -
has
_ test _ suite? (12) -
has
_ unit _ tests? (12) -
have
_ option? (12) -
hyperlink
_ all (12) -
ignore
_ deadlock (4) -
ignore
_ deadlock= (4) -
ignore
_ eof (12) -
ignore
_ eof? (12) -
ignore
_ sigint (12) -
ignore
_ sigint? (12) - include? (12)
-
include
_ line _ numbers (12) -
incomplete
_ input? (12) -
inline
_ source (12) - inspect? (12)
-
installation
_ satisfies _ dependency? (12) - instruction? (12)
- iseuc (12)
- isjis (12)
- issjis (12)
- isutf8 (12)
-
jobs
_ exist? (6) -
json
_ creatable? (12) -
keep
_ alive (12) -
keep
_ alive? (12) - key? (12)
-
line
_ numbers (12) - linger (12)
- load (12)
- loaded? (12)
- local? (12)
- math? (4)
-
math
_ mode (4) - member? (24)
-
mon
_ locked? (14) -
mon
_ owned? (14) -
mon
_ try _ enter (18) - monday? (24)
- multipart? (12)
- needed? (12)
- negative? (9)
- new (12)
-
new
_ session (12) - nonblock (12)
- nonblock= (12)
- nonblock? (12)
- none? (65)
-
not
_ modified? (12) - notationdecl? (12)
-
ole
_ respond _ to? (12) -
on
_ curve? (12) - one? (65)
-
only
_ signed (12) -
only
_ trusted (12) - optional? (12)
- orthogonal? (12)
-
pending
_ interrupt? (12) - permutation? (12)
- pipe (12)
- positive? (9)
- prerelease? (12)
- prompting? (12)
- quiet (12)
-
quirks
_ mode (12) -
quirks
_ mode? (12) - rc (12)
- rc? (12)
-
really
_ verbose (12) - recvmsg (12)
- remote? (12)
-
report
_ on _ exception (18) -
report
_ on _ exception= (18) -
required
_ attribute? (12) -
respond
_ to? (24) -
respond
_ to _ missing? (24) -
response
_ body _ permitted? (12) - resume= (12)
-
ruby 1
. 8 . 4 feature (12) -
satisfied
_ by? (12) -
satisfies
_ requirement? (12) -
session
_ add (12) -
session
_ remove (12) -
session
_ reused? (12) - setsockopt (12)
-
sharing
_ detection (12) -
sharing
_ detection= (12) -
show
_ all (12) -
show
_ hash (12) -
singleton
_ class? (12) - singular? (12)
-
slice
_ before (24) - start (8)
- syncmode= (12)
- system (48)
-
to
_ a (12) -
to
_ s (12) -
to
_ tty? (8) -
try
_ enter (12) -
try
_ link (24) -
try
_ mon _ enter (18) -
unconverted
_ fields? (12) -
unescape
_ filename? (12) -
update
_ sources (12) - uptodate? (12)
-
use
_ loader (12) -
use
_ loader? (12) -
use
_ readline (12) -
use
_ readline? (12) -
use
_ tracer (12) -
use
_ tracer? (12) -
valid
_ civil? (12) -
valid
_ date? (12) - validate (12)
- verbose (24)
- verbose? (12)
- verify (24)
- wait (12)
-
wait
_ for _ cond (4) -
waiting
_ job? (6) -
waiting
_ jobs _ exist? (6) -
warn
_ legacy (12) -
with
_ config (24)
検索結果
先頭5件
-
Socket
:: Option . bool(family , level , optname , boolean) -> Socket :: Option (21313.0) -
整数をデータとして持つ Socket::Option オブジェクト新たに生成し返します。
...整数をデータとして持つ Socket::Option オブジェクト新たに生成し返します。
family, level, optname には Socket::SOL_SOCKET のような整数の他、
文字列("SOL_SOCKET", "SOCKET")、シンボル(:SOL_SOCKET, :SOCKET)を
指定することができます。
@param f......プションの名前
@param boolean データ(真偽値)
require 'socket'
p Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE, true)
# => #<Socket::Option: INET SOCKET KEEPALIVE 1>
p Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE, false)
# => #<Socket::Option: AF_INET SOCKET KEEPALIVE 0>... -
Socket
:: Option # bool -> bool (21202.0) -
オプションのデータ(内容)を真偽値に変換して返します。
...オプションのデータ(内容)を真偽値に変換して返します。
@raise TypeError dataのバイト数が不適切である(sizeof(int)と異なる)場合に発生します
@see Socket::Option#data... -
Thread
# report _ on _ exception -> bool (12339.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......:1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread......:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# abort _ on _ exception -> bool (12321.0) -
真の場合、そのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例 外は、Thread#join などで検出されない限りそのスレッ ドだけをなにも警告を出さずに終了させます。
...ionを参照してください。
@param newstate 自身を実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.abort_on_exception # => false
thread.abort_on......_exception = true
thread.abort_on_exception # => true
//}... -
Thread
. abort _ on _ exception -> bool (12321.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...ad#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = true
Th......read.abort_on_exception # => true
//}... -
Thread
. report _ on _ exception -> bool (12321.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...e です。
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 in <main>'
1: from -e:1:in `times'
これに......oin や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception = false でレポートを無効化しても
安全です。しかし、この場合、例外をハンドルするのが遅れたり、親......いて
終了を待つことができなかったりするかもしれません。
スレッドごとに設定する方法は Thread#report_on_exception= を参照してください。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを... -
Net
:: HTTP # close _ on _ empty _ response=(bool) (12314.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを設定します。
...ンスがボディを持っていない場合にコネクションを
閉じるかどうかを設定します。
@param bool レスポンスがボディを持っていない場合にコネクションを
閉じるかどうか指定します。
@see Net::HTTP#close_on_empty_response... -
Net
:: HTTP # close _ on _ empty _ response -> bool (12308.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを返します。
...レスポンスがボディを持っていない場合にコネクションを
閉じるかどうかを返します。
デフォルトでは偽(閉じない)です。
@see Net::HTTP#close_on_empty_response=... -
Thread
# report _ on _ exception=(newstate) (12239.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......:1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread......:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# abort _ on _ exception=(newstate) (12221.0) -
真の場合、そのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例 外は、Thread#join などで検出されない限りそのスレッ ドだけをなにも警告を出さずに終了させます。
...ionを参照してください。
@param newstate 自身を実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.abort_on_exception # => false
thread.abort_on......_exception = true
thread.abort_on_exception # => true
//}...