ライブラリ
- ビルトイン (245)
- bigdecimal (124)
- drb (24)
- e2mmap (54)
- matrix (24)
-
minitest
/ unit (2) - rexml (12)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ exceptions (48) -
rubygems
/ security (24) - stringio (12)
- timeout (21)
クラス
-
ARGF
. class (10) - BigDecimal (110)
-
DRb
:: DRbUnknown (12) -
Encoding
:: Converter (12) - Exception (20)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Security :: Policy (12) - IO (12)
-
MiniTest
:: Unit (1) - StringIO (12)
- Thread (96)
- TracePoint (12)
モジュール
- Exception2MessageMapper (48)
-
Gem
:: Security (12) - Kernel (73)
-
MiniTest
:: Assertions (1) - Timeout (21)
キーワード
-
$ -d (12) -
$ DEBUG (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - BigDecimal (14)
- DRbUnknownError (12)
- DependencyRemovalException (12)
-
EXCEPTION
_ ALL (12) -
EXCEPTION
_ INFINITY (12) -
EXCEPTION
_ NaN (12) -
EXCEPTION
_ OVERFLOW (12) -
EXCEPTION
_ UNDERFLOW (12) -
EXCEPTION
_ ZERODIVIDE (12) - EndOfYAMLException (12)
- ErrDimensionMismatch (12)
- ErrNotRegisteredException (6)
- ErrOperationNotDefined (12)
- Fail (6)
- GemNotFoundException (12)
- Integer (7)
- InvalidSpecificationException (12)
-
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (5) - Raise (6)
- Rubyの起動 (4)
- Ruby用語集 (12)
- Thread (12)
- TracePoint (12)
- UndefinedNamespaceException (12)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) -
backtrace
_ locations (12) - bind (6)
- complain (12)
- debug (12)
-
def
_ exception (12) -
exception
_ details (1) -
extend
_ object (6) -
handle
_ interrupt (12) -
json
/ add / exception (12) -
last
_ error (12) - logger (12)
- mode (24)
- new (2)
- puke (1)
-
raised
_ exception (12) -
read
_ nonblock (34) -
report
_ on _ exception (18) -
report
_ on _ exception= (18) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
save
_ exception _ mode (12) - spawn (14)
- system (14)
- thread (2)
- timeout (21)
-
verify
_ gem (12) -
verify
_ trust _ dir (12) - yaml (12)
- スレッド (12)
- 制御構造 (12)
検索結果
先頭5件
- debug
- DRb
:: DRbUnknown # exception -> DRb :: DRbUnknownError - Gem
:: DependencyRemovalException - Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class
-
debug (26018.0)
-
Ruby デバッガです。Ruby スクリプトのソースコードデバッグに使用します。
...、Emacs を使用したインタフェース rubydb3x.el が
https://github.com/ruby/elisp にあるので、活用してください。
=== 使い方
$ ruby -rdebug foo.rb
または、Emacs から
M-x load-library rubydb3x.el
M-x rubydb
=== デバッグコマンド
以下は、デ......げたもの以外を入力した場合、その入力を ruby の式として評価します。
: break
: break [<file>:]<position>|<class>:<method>
ブレークポイントを設定します。引数を省略した場合設定したブレークポ
イントを表示します。
設......b です。
: catch <an Exception>
例外が発生した時にデバッガを停止させるキャッチポイントを設定します。
引数を省略した場合設定したキャッチポイントを表示します。
発生した例外が <an Exception> のサブクラスであ... -
DRb
:: DRbUnknown # exception -> DRb :: DRbUnknownError (24301.0) -
マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、 ということを意味する例外オブジェクトを返します。
...マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、
ということを意味する例外オブジェクトを返します。
この例外オブジェクトの DRb::DRbUnknownError#unknown を
呼び出すと、 self が返されます。... -
Gem
:: DependencyRemovalException (18000.0) -
Gem を削除出来なかった場合に使用する例外です。
Gem を削除出来なかった場合に使用する例外です。 -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (15424.0) -
exception_name という名前の例外クラスを定義します。
...
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定......します。
省略すると StandardError を使用します。... -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (15424.0) -
exception_name という名前の例外クラスを定義します。
...
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定しま......el.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用します。
@return 定義した例外クラスを返します。... -
BigDecimal
# save _ exception _ mode { . . . } -> object (15201.0) -
例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し ます。ブロック中で変更した設定はブロックの評価後に復元されます。
...例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し
ます。ブロック中で変更した設定はブロックの評価後に復元されます。
ブロックの評価結果を返します。... -
BigDecimal
:: EXCEPTION _ UNDERFLOW -> Integer (15201.0) -
BigDecimal の計算結果の指数部がアンダーフローした場合に例外を発生 させるかどうかを設定、確認する際の値を返します。
...BigDecimal の計算結果の指数部がアンダーフローした場合に例外を発生
させるかどうかを設定、確認する際の値を返します。
BigDecimal.mode の第 1 引数に指定します。... -
BigDecimal
:: EXCEPTION _ ZERODIVIDE -> Integer (15201.0) -
BigDecimal に 0 による割り算を実行した場合に例外を発生させるかど うかを設定、確認する際の値を返します。
...BigDecimal に 0 による割り算を実行した場合に例外を発生させるかど
うかを設定、確認する際の値を返します。
BigDecimal.mode の第 1 引数に指定します。... -
Exception2MessageMapper
:: ErrNotRegisteredException (15016.0) -
登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。
...登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (12308.0) -
与えられた例外の詳細を文字列として返します。
...与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。... -
TracePoint
# raised _ exception -> Exception (12308.0) -
発生した例外を返します。
...eError :raise イベントのためのイベントフックの外側で実行し
た場合に発生します。
//emlist[例][ruby]{
trace = TracePoint.new(:raise) do |tp|
tp.raised_exception # => #<ZeroDivisionError: divided by 0>
end
trace.enable
begin
0/0
rescue
end
//}...