6125件ヒット
[1-100件を表示]
(0.115秒)
別のキーワード
ライブラリ
- ビルトイン (2532)
- bigdecimal (84)
-
bigdecimal
/ util (36) - dbm (24)
- delegate (24)
- fiber (8)
-
fiddle
/ import (12) - gdbm (12)
-
io
/ console (36) -
irb
/ cmd / load (12) -
irb
/ ext / math-mode (4) -
irb
/ input-method (12) -
irb
/ output-method (12) - matrix (146)
-
minitest
/ spec (15) -
minitest
/ unit (8) - monitor (24)
-
net
/ ftp (204) -
net
/ http (24) -
net
/ imap (144) -
net
/ pop (60) -
net
/ smtp (16) -
net
/ telnet (2) - observer (24)
- openssl (972)
- optparse (336)
- ostruct (12)
- pathname (23)
- pp (12)
- pstore (72)
- rake (12)
- resolv-replace (12)
- rubygems (12)
-
rubygems
/ installer (12) -
rubygems
/ package / tar _ writer (12) -
rubygems
/ specification (12) - sdbm (12)
- set (63)
- socket (156)
- stringio (206)
- strscan (24)
- thwait (6)
- weakref (12)
-
webrick
/ cgi (12) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httpserver (24) -
webrick
/ httpservlet / abstract (12) -
webrick
/ httpservlet / filehandler (72) - win32ole (228)
-
yaml
/ dbm (72) - zlib (204)
クラス
-
ARGF
. class (36) - Array (390)
- BasicObject (36)
- BasicSocket (84)
- BigDecimal (84)
- Binding (12)
- DBM (24)
- Delegator (24)
- Dir (36)
-
Encoding
:: Converter (24) - Enumerator (36)
-
Enumerator
:: Lazy (57) - Exception (56)
- Fiber (42)
- File (11)
-
File
:: Stat (12) - Float (24)
- FrozenError (6)
- GDBM (12)
-
Gem
:: Installer (12) -
Gem
:: Package :: TarWriter :: BoundedStream (12) -
Gem
:: Specification (12) - Hash (68)
- IO (274)
-
IRB
:: Context (4) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: InputMethod (12) -
IRB
:: OutputMethod (12) - Integer (87)
- KeyError (16)
- MatchData (18)
- Matrix (146)
- Module (276)
-
MonitorMixin
:: ConditionVariable (24) - Mutex (2)
-
Net
:: FTP (204) -
Net
:: HTTP (24) -
Net
:: IMAP (144) -
Net
:: POP3 (24) -
Net
:: POPMail (36) -
Net
:: SMTP (16) -
Net
:: Telnet (2) - Numeric (62)
- Object (207)
-
OpenSSL
:: ASN1 :: ObjectId (12) -
OpenSSL
:: BN (384) -
OpenSSL
:: Netscape :: SPKI (36) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (48) -
OpenSSL
:: PKey :: EC :: Group (36) -
OpenSSL
:: PKey :: EC :: Point (60) -
OpenSSL
:: PKey :: PKey (12) -
OpenSSL
:: PKey :: RSA (24) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLServer (12) -
OpenSSL
:: SSL :: SSLSocket (36) -
OpenSSL
:: X509 :: Attribute (60) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (48) -
OpenSSL
:: X509 :: Request (60) -
OpenSSL
:: X509 :: Store (24) - OpenStruct (12)
- OptionParser (276)
- PStore (72)
- Pathname (23)
-
Rake
:: InvocationChain (12) - Range (204)
- Rational (12)
- SDBM (12)
- Set (84)
- Socket (24)
-
Socket
:: Option (24) - String (216)
- StringIO (206)
- StringScanner (24)
- Struct (36)
- TCPServer (24)
- Thread (50)
-
Thread
:: Mutex (10) - ThreadsWait (6)
- TracePoint (62)
- UDPSocket (12)
- UnboundMethod (12)
-
WEBrick
:: CGI (12) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPServer (24) -
WEBrick
:: HTTPServlet :: AbstractServlet (12) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (24) -
WEBrick
:: HTTPServlet :: FileHandler (48) - WIN32OLE (108)
-
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ TYPELIB (84) -
WIN32OLE
_ VARIANT (24) - WeakRef (12)
-
YAML
:: DBM (72) -
Zlib
:: GzipReader (192) -
Zlib
:: Inflate (12)
モジュール
- Comparable (72)
- Enumerable (156)
-
Fiddle
:: Importer (12) - Kernel (12)
-
MiniTest
:: Assertions (8) - Observable (24)
-
OpenSSL
:: Buffering (60) -
OptionParser
:: Arguable (60)
キーワード
- % (12)
- * (12)
- ** (23)
- + (24)
- - (12)
-
/ (12) - < (24)
- << (24)
- <= (24)
- <=> (12)
- == (36)
- === (12)
- > (24)
- >= (24)
- >> (12)
- [] (162)
- []= (96)
-
_ _ getobj _ _ (24) -
_ _ setobj _ _ (12) -
_ getproperty (12) -
_ invoke (12) - abort (24)
-
accept
_ nonblock (24) - add (12)
-
add
_ observer (12) - all (12)
- antisymmetric? (7)
- append (24)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ nil (1) -
assert
_ respond _ to (1) - at (12)
- authenticate (24)
- backtrace (12)
-
backtrace
_ locations (12) - begin (24)
- between? (12)
- bind (24)
- binmode (12)
- birthtime (34)
- bool (12)
- bsearch (48)
- byteindex (3)
- byteoffset (6)
- bytes (28)
- bytesplice (10)
-
callee
_ id (12) - challenge (24)
- chunk (12)
-
chunk
_ while (9) - clamp (12)
-
class
_ variable _ get (12) -
clear
_ bit! (12) - clone (12)
- cmp (12)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) -
collect
_ concat (12) - combination (24)
-
connect
_ address (12) -
connect
_ nonblock (24) -
const
_ get (12) - convert (12)
- cooked (12)
- copy (12)
- create (12)
- cycle (24)
-
define
_ method (24) - delete (48)
-
delete
_ at (12) -
delete
_ if (12) - detect (24)
-
dh
_ compute _ key (12) - diagonal? (12)
- digits (12)
- disjoint? (12)
- div (12)
- dlload (12)
-
do
_ GET (24) -
do
_ OPTIONS (12) -
do
_ POST (12) -
dsa
_ verify _ asn1 (12) - dup (12)
- each (24)
-
each
_ byte (72) -
each
_ line (24) - end (12)
- entries (7)
-
enum
_ for (36) - eof (24)
- eof? (24)
- eql? (12)
- event (12)
- examine (12)
- execute (12)
- feed (12)
- fetch (128)
-
fetch
_ values (20) - find (24)
- finish (12)
- first (36)
-
flat
_ map (12) - gcd (12)
- gem (12)
-
generate
_ bin (12) - get (24)
- getbinaryfile (24)
- getbyte (12)
- getc (12)
- getopts (36)
- getquota (12)
- getquotaroot (12)
- gets (24)
- gettextfile (24)
- guid (12)
- hermitian? (12)
- infinity? (12)
- inflate (12)
-
initialize
_ copy (12) - insert (12)
- inspect (12)
-
instance
_ eval (24) -
instance
_ method (12) -
instruction
_ sequence (7) - intersect? (12)
- intersection (6)
- invoke (12)
- isatty (12)
- key (8)
-
laplace
_ expansion (12) - last (36)
-
library
_ name (12) - lineno (12)
- lineno= (24)
- linger (12)
- listen (24)
-
local
_ variable _ get (12) - lshift! (12)
- mail (12)
-
major
_ version (12) -
make
_ partial _ content (12) -
mask
_ bits! (12) -
math
_ mode= (4) - max (94)
- method (12)
-
method
_ id (12) -
method
_ missing (24) - min (94)
-
minor
_ version (12) -
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sqr (12) -
mod
_ sub (12) - modifiable (12)
-
mount
_ proc (24) - mult (12)
-
must
_ be (1) -
must
_ be _ close _ to (1) -
must
_ be _ empty (1) -
must
_ be _ instance _ of (1) -
must
_ be _ kind _ of (1) -
must
_ be _ nil (1) -
must
_ be _ same _ as (1) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) -
must
_ equal (1) -
must
_ include (1) -
must
_ match (1) -
must
_ raise (1) -
must
_ respond _ to (1) -
must
_ throw (1) -
n
_ bytes (12) - next (12)
-
next
_ wait (6) - noecho (12)
- normal? (12)
-
not
_ before= (12) -
notify
_ observers (12) - oid (24)
- oid= (12)
-
ole
_ query _ interface (12) -
ole
_ typelib (12) - on (144)
-
on
_ curve? (12) - order (60)
- order! (48)
- orthogonal? (12)
- overlap? (2)
- parameters (7)
- parse! (12)
- path (12)
- peek (24)
- peep (12)
- permutation (12)
- permutation? (12)
- permute (24)
- permute! (24)
-
point
_ conversion _ form (12) - pop (24)
- pos= (12)
- pow (22)
- pread (8)
-
pretty
_ print _ inspect (12) - prime? (24)
-
prime
_ fasttest? (12) - print (24)
- printf (12)
- private (48)
-
proper
_ subset? (12) -
proper
_ superset? (12) - protected (12)
- public (48)
-
public
_ constant (12) -
public
_ decrypt (12) -
public
_ encrypt (12) -
public
_ instance _ method (12) -
public
_ key (48) -
public
_ key= (48) -
public
_ method (12) -
public
_ send (24) - put (24)
- putbinaryfile (24)
- putc (24)
- puts (24)
- puttextfile (24)
- raw (12)
- read (36)
-
read
_ nonblock (36) - readbyte (36)
- readchar (24)
- readline (24)
- readlines (12)
- readpartial (48)
- receiver (14)
- recv (12)
-
recv
_ nonblock (12) -
recvfrom
_ nonblock (12) - regular? (12)
- rehash (12)
-
relative
_ path _ from (12) -
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) - rename (12)
-
renegotiation
_ cb= (12) -
repeated
_ combination (24) - replace (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) - resume (12)
- retrbinary (24)
-
return
_ value (12) - rewind (12)
- root? (12)
- rotate (12)
- rotate! (12)
- rshift! (12)
- sample (24)
- seek (12)
- select (12)
- send (12)
- service (36)
-
set
_ backtrace (12) -
set
_ bit! (12) - setbyte (12)
- setproperty (24)
- setquota (12)
- setsockopt (24)
- shift (12)
- shutdown (12)
-
singleton
_ class (12) -
singleton
_ method (12) - singular? (12)
-
skew
_ symmetric? (7) - skip (1)
- slice (72)
- sqr (12)
- sqrt (12)
- start (40)
- status (36)
- step (62)
- storbinary (24)
- store (12)
- string= (12)
- sub (12)
- subject (12)
- subject= (24)
- subscribe (12)
- subset? (12)
- subtract (12)
- superset? (12)
- symmetric? (12)
- sync (12)
- synchronize (12)
- sysread (36)
- sysverify (12)
- syswrite (12)
-
to
_ a (7) -
to
_ bn (12) -
to
_ d (36) -
to
_ der (12) -
to
_ enum (36) -
to
_ i (24) -
to
_ int (24) -
to
_ s (24) - transaction (12)
- transfer (12)
- tty? (12)
- ucmp (12)
-
undef
_ method (12) - ungetc (12)
-
unicode
_ normalized? (11) - unitary? (12)
- unsubscribe (12)
- update (12)
-
use
_ ssl= (12) - validate (12)
- value (12)
- value= (12)
-
values
_ at (12) - variables (12)
- verify (84)
- version (12)
- visible? (12)
- wait (12)
-
wait
_ while (12) - waitfor (2)
- write (24)
-
write
_ nonblock (36) - zip (24)
検索結果
先頭5件
-
Fiber
# raise -> object (21216.0) -
selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
...selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
Fiber.yield が呼ばれていないかファイバーがすでに終了している場合、
FiberError が発生します。
引数を渡さない場合、RuntimeError が発生します。...... backtrace 例外発生時のスタックトレースです。文字列の配列で指定します。
//emlist[例][ruby]{
f = Fiber.new { Fiber.yield }
f.resume
f.raise "Error!" # => Error! (RuntimeError)
//}
//emlist[ファイバー内のイテレーションを終了させる例][ruby]{
f = Fib......er.new do
loop do
Fiber.yield(:loop)
end
:exit
end
p f.resume # => :loop
p f.raise StopIteration # => :exit
//}... -
Fiber
# raise(exception , message = nil , backtrace = nil) -> object (21216.0) -
selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
...selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
Fiber.yield が呼ばれていないかファイバーがすでに終了している場合、
FiberError が発生します。
引数を渡さない場合、RuntimeError が発生します。...... backtrace 例外発生時のスタックトレースです。文字列の配列で指定します。
//emlist[例][ruby]{
f = Fiber.new { Fiber.yield }
f.resume
f.raise "Error!" # => Error! (RuntimeError)
//}
//emlist[ファイバー内のイテレーションを終了させる例][ruby]{
f = Fib......er.new do
loop do
Fiber.yield(:loop)
end
:exit
end
p f.resume # => :loop
p f.raise StopIteration # => :exit
//}... -
Fiber
# raise(message) -> object (21216.0) -
selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
...selfが表すファイバーが最後に Fiber.yield を呼んだ場所で例外を発生させます。
Fiber.yield が呼ばれていないかファイバーがすでに終了している場合、
FiberError が発生します。
引数を渡さない場合、RuntimeError が発生します。...... backtrace 例外発生時のスタックトレースです。文字列の配列で指定します。
//emlist[例][ruby]{
f = Fiber.new { Fiber.yield }
f.resume
f.raise "Error!" # => Error! (RuntimeError)
//}
//emlist[ファイバー内のイテレーションを終了させる例][ruby]{
f = Fib......er.new do
loop do
Fiber.yield(:loop)
end
:exit
end
p f.resume # => :loop
p f.raise StopIteration # => :exit
//}... -
Thread
# raise(error _ type , message , traceback) -> () (18226.0) -
自身が表すスレッドで強制的に例外を発生させます。
....#raise を参照してください。
@param message Kernel.#raise を参照してください。
@param traceback Kernel.#raise を参照してください。
Thread.new {
sleep 1
Thread.main.raise "foobar"
}
begin
sleep
rescue
p $!, $@
end
=> #<RuntimeError: fooba... -
Observable
# add _ observer(observer , func=:update) -> Array (9207.0) -
オブザーバを登録します。
...備えている必要があります。
observer が update メソッドを持たないときは
例外 NoMethodError が発生します。
func を指定することで update 以外のメソッドを通知に用いることができます。
@param observer 更新の通知を受けるオブザ......ーバ
@param func 更新の通知をするメソッド
@raise NoMethodError updateメソッドを持たないオブジェクトをオブザーバに指定した場合に発生します。... -
Object
# must _ raise(*args) -> true (9108.0) -
自身を評価中に与えられた例外が発生する場合、検査にパスしたことになります。
...したことになります。
@param args 自身を評価中に発生する可能性のある例外クラスを一つ以上指定します。
@raise MiniTest::Assertion 自身を評価した結果、例外が発生しない場合に発生します。
また、自身を......評価中に発生した例外が、与えられた例外
またはそのサブクラスでない場合に発生します。
@see MiniTest::Assertions#assert_raises... -
Observable
# notify _ observers(*arg) -> nil (9107.0) -
オブザーバへ更新を通知します。
...外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に... -
Delegator
# _ _ setobj _ _ (obj) -> object (6307.0) -
委譲先のオブジェクトをセットします。
...委譲先のオブジェクトをセットします。
@param obj 委譲先のオブジェクトを指定します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。... -
Zlib
:: GzipReader # each _ byte {|byte| . . . } -> nil (6249.0) -
IO クラスの同名メソッドIO#each_byteと同じです。
...IO クラスの同名メソッドIO#each_byteと同じです。
但し、gzip ファイル中に
エラーがあった場合 Zlib::Error 例外や
Zlib::GzipFile::Error 例外が発生します。
gzip ファイルのフッターの処理に注意して下さい。
gzip ファイルのフッター......ーがあった場合は
Zlib::GzipFile::NoFooter, Zlib::GzipFile::CRCError,
Zlib::GzipFile::LengthError 例外を発生させます。
* EOF (圧縮データの最後) を越えて読み込み要求を受けた時。
すなわち Zlib::GzipReader#read,
Zlib::GzipReader#gets メソッド......後、Zlib::GzipFile#close メソッドが
呼び出された時。
* EOF まで読み込んだ後、Zlib::GzipReader#unused メソッドが
呼び出された時。
@raise Zlib::Error Zlib::Error を参照
@raise Zlib::GzipFile::Error Zlib::GzipFile::Errorを参照
@raise Zlib::GzipFile:... -
IO
# write _ nonblock(string , exception: true) -> Integer | :wait _ writable (6213.0) -
IO をノンブロッキングモードに設定し、string を write(2) システムコールで書き出します。
...り値)は String#bytesize の
値より小さい可能性があります。
発生した例外 がErrno::EAGAIN、 Errno::EWOULDBLOCK である場合は、
その例外オブジェクトに IO::WaitWritable が Object#extend
されます。よって IO::WaitWritable を write_nonblock のリトラ......と、書き込み時に Errno::EAGAIN、Errno::EWOULDBLOCK が発生
する代わりに :wait_writable を返します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX write(2) が失敗した場合に発生し... -
Delegator
# _ _ getobj _ _ -> object (6207.0) -
委譲先のオブジェクトを返します。
...オブジェクトを返します。
本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。...