Project

General

Profile

Feature #6012

Proc#source_location also return the column

Added by rogerdpack (Roger Pack) over 8 years ago. Updated over 1 year ago.

Status:
Assigned
Priority:
Normal
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

Related to CommonRuby - Feature #8751: Add offsets to method#source_locationOpen08/08/2013Actions

Also available in: Atom PDF