From: "nobu (Nobuyoshi Nakada) via ruby-core" Date: 2025-01-09T11:26:49+00:00 Subject: [ruby-core:120566] [Ruby master Feature#6012] Proc#source_location also return the column Issue #6012 has been updated by nobu (Nobuyoshi Nakada). I'm not sure about attributes and `Binding#source_location`. https://github.com/ruby/ruby/pull/12539 ---------------------------------------- Feature #6012: Proc#source_location also return the column https://bugs.ruby-lang.org/issues/6012#change-111390 * Author: rogerdpack (Roger Pack) * Status: Assigned * Assignee: nobu (Nobuyoshi Nakada) ---------------------------------------- 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- -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/