On 9/8/08, Roger Pack <rogerpack2005 / gmail.com> wrote: > I think Trans' #source_location is nice. > > I would prefer to rewrite this patch to become > > RubyVM::InstructionSequence#source_location # or whatever name we use > > And then also provide > Method#iseq > and > Proc#iseq > methods > > To also provide the added capability of accessing Proc's iseq's [and > disassembling it, etc.--currently unavailable] > > except I am having trouble creating Proc#iseq [Method#iseq is here[1]]. > I much prefer 'location', because it is something that every Ruby implementation can provide. iseq is super super low-level, and we should think hard about the API before calling it public.