Eno::Error » #cursor
cursor → [line, column]
Returns a cursor position as an array of the form [line, column], indicating where a cursor should be placed if an application wants to offer the user a way to move the cursor straight to the error location.
rubybegin
# ...
rescue Eno::Error => e
e.cursor #=> [3, 14]
end
Return value
An array, where [0] is the line number, and [1] is the column number.