別のキーワード
種類
ライブラリ
- English (12)
- ビルトイン (675)
- bigdecimal (124)
- csv (12)
- drb (24)
- e2mmap (96)
- fileutils (24)
- irb (12)
- json (12)
-
json
/ add / exception (24) - matrix (36)
-
minitest
/ unit (4) -
net
/ ftp (12) -
net
/ http (43) - psych (12)
- rexml (72)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ exceptions (108) -
rubygems
/ gem _ openssl (12) -
rubygems
/ security (36) -
rubygems
/ spec _ fetcher (12) - stringio (12)
- timeout (37)
-
webrick
/ httpauth / authenticator (24)
クラス
-
ARGF
. class (10) - BigDecimal (110)
-
DRb
:: DRbUnknown (12) -
Encoding
:: Converter (12) - Exception (184)
- Fiber (18)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Security :: Policy (12) -
Gem
:: SpecFetcher (12) - IO (24)
-
JSON
:: State (12) -
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) -
REXML
:: ParseException (48) - SignalException (60)
- StringIO (12)
- Thread (96)
- TracePoint (24)
モジュール
- Exception2MessageMapper (78)
- FileUtils (24)
- Gem (12)
-
Gem
:: Security (12) - IRB (12)
- Kernel (265)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPExceptions (12) - Timeout (21)
-
WEBrick
:: HTTPAuth :: Authenticator (12) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (12)
キーワード
-
$ ! (12) -
$ -d (12) -
$ DEBUG (12) -
$ ERROR _ INFO (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - == (12)
- AuthException (24)
- BigDecimal (14)
- CSV (12)
- Complex (14)
- DRbUnknownError (12)
- DependencyRemovalException (12)
- E2MM (6)
-
EXCEPTION
_ ALL (12) -
EXCEPTION
_ INFINITY (12) -
EXCEPTION
_ NaN (12) -
EXCEPTION
_ OVERFLOW (12) -
EXCEPTION
_ UNDERFLOW (12) -
EXCEPTION
_ ZERODIVIDE (12) - EndOfYAMLException (12)
- ErrDimensionMismatch (12)
- ErrNotRegisteredException (6)
- ErrNotRegular (12)
- ErrOperationNotDefined (12)
- Exception (48)
- Exception2MessageMapper (6)
- FTPError (12)
- Fail (12)
- Float (7)
- FormatException (12)
- GemNotFoundException (12)
- GemNotInHomeException (12)
- HTTPClientException (7)
- HTTPExceptions (12)
- HTTPServerException (12)
- Integer (7)
- InvalidSpecificationException (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) -
PASSTHROUGH
_ EXCEPTIONS (1) - ParseException (12)
- Raise (12)
- Rational (7)
- RemoteSourceException (12)
- Rubyの起動 (4)
- Ruby用語集 (12)
- SignalException (12)
- SystemExitException (12)
- Thread (12)
- TracePoint (12)
- UndefinedNamespaceException (12)
- abort (24)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) - backtrace (12)
-
backtrace
_ locations (12) - bind (6)
- cause (12)
- complain (12)
- context (12)
- debug (12)
-
def
_ exception (12) - e2mmap (6)
-
ensure
_ ssl _ available (12) -
exception
_ details (1) -
extend
_ object (6) - fail (42)
- generate (12)
-
handle
_ interrupt (12) - inspect (12)
-
irb
_ abort (12) -
json
/ add / exception (12) -
json
_ create (12) -
last
_ error (12) - line (12)
- location (1)
- logger (12)
- mode (24)
-
net
/ http (12) - new (62)
- position (12)
- puke (1)
- raise (54)
-
raised
_ exception (12) -
read
_ nonblock (34) - remove (12)
-
report
_ on _ exception (18) -
report
_ on _ exception= (18) - response (12)
- rm (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ exceptions (12) -
save
_ exception _ mode (12) -
set
_ backtrace (12) - signm (12)
- signo (12)
- spawn (28)
- system (28)
- thread (2)
- timeout (37)
-
to
_ json (12) -
to
_ s (24) -
to
_ tty? (8) -
verify
_ gem (12) -
verify
_ trust _ dir (12) -
warn
_ legacy (12) -
write
_ nonblock (12) - yaml (12)
- スレッド (12)
- 制御構造 (12)
検索結果
-
Rubyの起動 (6.0)
-
Rubyの起動 * cmd_option * shebang
...ise
def f5 = f6
def f4 = f5
def f3 = f4
def f2 = f3
def f1 = f2
f1
//}
//emlist{
% ruby --backtrace-limit=3 test.rb
test.rb:1:in `f6': unhandled exception
from test.rb:2:in `f5'
from test.rb:3:in `f4'
from test.rb:4:in `f3'
... 3 levels...
//}
: -C directory
スクリプト実行前に... -
TracePoint (6.0)
-
Kernel.#set_trace_func と同様の機能をオブジェクト指向的な API で 提供するクラスです。
...す。
//emlist[例:例外に関する情報を収集する][ruby]{
trace = TracePoint.new(:raise) do |tp|
p [tp.lineno, tp.event, tp.raised_exception]
end
# => #<TracePoint:0x007f786a452448>
trace.enable
# => false
0 / 0
# => [5, :raise, #<ZeroDivisionError: divided by 0>]
//}
TracePoint.new... -
net
/ http (6.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
...らエラーにします。
//emlist[例][ruby]{
require 'net/http'
require 'uri'
def fetch(uri_str, limit = 10)
# You should choose better exception.
raise ArgumentError, 'HTTP redirect too deep' if limit == 0
response = Net::HTTP.get_response(URI.parse(uri_str))
case response
when Ne... -
ruby 1
. 8 . 3 feature (6.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...SystemCallError
: SystemExit
各例外クラスのインスタンスが生成される時に、親クラスのコンストラクタ
である Exception#initialize が呼ばれるようになりました。((<ruby-talk:142593>)) ((<ruby-dev:26177>))
=== 2005-05-11
: break [ruby] [bug]
メソ... -
ruby 1
. 8 . 4 feature (6.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...-talk:165866>))
: Iconv
#Sun Nov 6 23:39:13 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
# bug of underlying library.
errnoが正しくセットされなかったときの例外を追加(Windowsで
ic... -
thread (6.0)
-
スレッド間キューや状態変数 (condition variable) を提供するライブラリです。
...間キューや状態変数 (condition variable) を提供するライブラリです。
このライブラリは Thread を拡張します。rubyインタプリタを
デバッグオプション付き($DEBUGを真)で実行したときには、
Thread.abort_on_exception を true にします。... -
yaml (6.0)
-
構造化されたデータを表現するフォーマットであるYAML (YAML Ain't Markup Language) を扱うためのライブラリです。
...uct オブジェクト
* !ruby/sym(もしくは !ruby/symbol): Symbol オブジェクト
* !ruby/encoding: Encoding オブジェクト
* !ruby/exception: 例外オブジェクト
* !ruby/object:<クラス名>: 上記以外のオブジェクト
//emlist[例][ruby]{
require 'yaml'
p YAML.load(<<~... -
Kernel
. # spawn(command , options={}) -> Integer (1.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
引数を外部コマンドとして実行しますが、生成した
子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
=== 引数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash... -
Kernel
. # spawn(env , command , options={}) -> Integer (1.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
引数を外部コマンドとして実行しますが、生成した
子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
=== 引数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash...