るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.015秒)
トップページ > バージョン:2.2.0[x] > クエリ:Exception[x] > クエリ:context[x] > クラス:REXML::ParseException[x]

別のキーワード

  1. _builtin exception
  2. exception exception
  3. thread abort_on_exception
  4. thread abort_on_exception=
  5. bigdecimal exception_nan

ライブラリ

検索結果

REXML::ParseException#context -> [Integer, Integer, Integer] (63307.0)

パースエラーが起きた(XML上の)場所を返します。

...を返します。

要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException
#position
REXML::ParseException
#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値です。...