General

Profile

mame (Yusuke Endoh)

  • Login: mame
  • Email: mame@ruby-lang.org
  • Registered on: 05/28/2008
  • Last sign in: 09/24/2025

Issues

open closed Total
Assigned issues 2 147 149
Reported issues 17 340 357

Projects

Project Roles Registered on
Ruby Committer, Security team, Infrastructure team 05/28/2008

Activity

01/08/2026

10:01 PM Ruby Feature #6012: Proc#source_location also return the column
Eregon (Benoit Daloze) wrote in #note-49:
> In any case I don't think it's our place to judge whether each usage is "valid" or "correct" or not, it's definitely useful functionality since it's used so much.
"I don't know exactly what...
mame (Yusuke Endoh)
08:58 AM Ruby Feature #21826: Deprecating RubyVM::AbstractSyntaxTree
I reserve my opinion on the proposal itself, but just about `node_id_for_backtrace_location`:
Earlopain (Earlopain _) wrote in #note-2:
> But I don't know of something for `node_id_for_backtrace_location` (https://bugs.ruby-lang.org/...
mame (Yusuke Endoh)

01/07/2026

02:18 PM Ruby Feature #6012: Proc#source_location also return the column
> A quick search shows some examples which do not use an AST:
A "use case" is the ultimate goal that the examples aim to achieve via `Method#source`.
By the way, I tried the `method_source` gem, and I noticed that it includes hered...
mame (Yusuke Endoh)
12:07 PM Ruby Feature #6012: Proc#source_location also return the column
Note that there is also an idiom like `foo(*obj.source_location)`, not just `source_location.last`. By checking the result of "gem-codesearch", we see not only `@binding.source_location` but also `@proc.source_location`. I am not sure if... mame (Yusuke Endoh)
11:54 AM Ruby Feature #6012: Proc#source_location also return the column
Eregon (Benoit Daloze) wrote in #note-44:
> mame (Yusuke Endoh) wrote in #note-43:
> ...
First, I suspect that what many users of `method_source` gem actually need is the AST. The proposal #21005 itself demonstrates this.
I recogniz...
mame (Yusuke Endoh)
12:17 AM Ruby Feature #6012: Proc#source_location also return the column
Eregon (Benoit Daloze) wrote in #note-41:
> @mame Matz explicitly approved it: https://github.com/ruby/ruby/pull/15580#issuecomment-3691058342
Ah, I missed that the PR had already been approved. Sorry about that.
However, we should con...
mame (Yusuke Endoh)
12:51 AM Ruby Misc #21777: DevMeeting-2026-01-14
* [Feature #13683] Add strict Enumerable#single (mame)
* ActiveSupport now has `Enumerable#sole`. https://github.com/rails/rails/pull/40914
* I want this on the core too. It's good that the intention of having only one is explicitly ...
mame (Yusuke Endoh)
12:44 AM Ruby Misc #21777: DevMeeting-2026-01-14
* [Feature #6012] Proc#source_location also return the column (mame)
* Quite a few gems are using the idiom `source_location.last`.
* The idiom will return a column number (of the end of the code range) instead of a line number.
...
mame (Yusuke Endoh)
12:33 AM Ruby Feature #13683: Add strict Enumerable#single
I've only just learned that ActiveSupport introduced `Enumerable#sole` back in 2020.
https://github.com/rails/rails/pull/40914
I wish this were available in the core too.
mame (Yusuke Endoh)

01/06/2026

04:41 AM Ruby Feature #6012 (Open): Proc#source_location also return the column
@eregon Why was this re-merged?
The first two issues raised in #note-32 (re-listed below) have not yet been resolved.
mame (Yusuke Endoh) wrote in #note-32:
> * Unclear use cases
> ...
In addition, as pointed out by @vo.x:
htt...
mame (Yusuke Endoh)

Also available in: Atom