るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.093秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:ext[x] > クラス:REXML::ParseException[x]

別のキーワード

  1. rake ext
  2. irb/ext/save-history save_history
  3. pathname sub_ext
  4. irb/ext/tracer use_tracer
  5. irb/ext/tracer use_tracer=

ライブラリ

検索結果

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

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

...を返します。

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