Project

General

Profile

Actions

Feature #6012

open

Proc#source_location also return the column

Feature #6012: Proc#source_location also return the column

Added by rogerdpack (Roger Pack) almost 14 years ago. Updated 1 minute ago.

Status:
Open
Target version:
-
[ruby-core:42579]

Description

As originally suggested in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42418

Suggestion/feature request:
have #source_location also return the beginning column where it was defined.
["test.rb", 8, 33]

Thanks!
-roger-


Related issues 6 (3 open3 closed)

Related to Ruby - Feature #8751: Add offsets to method#source_locationClosedActions
Related to Ruby - Feature #17930: Add column information into error backtraceClosedmame (Yusuke Endoh)Actions
Related to Ruby - Feature #18231: `RubyVM.keep_script_lines`Closedko1 (Koichi Sasada)Actions
Related to Ruby - Feature #21005: Update the source location method to include line start/stop and column start/stop detailsOpenActions
Related to Ruby - Bug #21784: Proc#source_location start column seems strange for -> {}OpenActions
Related to Ruby - Bug #21783: {Method,UnboundMethod,Proc}#source_location returns columns in bytes and not in charactersOpenActions
Actions

Also available in: PDF Atom