From: Eric Wong Date: 2017-06-26T02:45:31+00:00 Subject: [ruby-core:81770] Re: [Ruby trunk Feature#10771] An easy way to get the source location of a constant jeremy.phelps@instacart.com wrote: > Ok, then here's my patch. I called the method > "const_source_location" instead of "constant_source_location", > because it uses a lot of the same code as "const_get". Thanks. The code looks fine. I'd suggest rb_ary_new_from_args to avoid the temporary array (instead of rb_ary_new4) but we can fix it at commit time. It's up to matz now to approve/deny the feature itself. Thanks again Unsubscribe: