On 6/8/06, Edward Kenworthy <edward / kenworthy.info> wrote: > ezmobius mob wrote: > > > > > Your code should work fine if you remove the lammbda from inside the > > define_method block. > > Perfect! Thank you. > > (Is there a way to see the results of a macro expansion?) > > -- > Posted via http://www.ruby-forum.com/. > > Unfortunately there is no easy way to see the expanded method. If you really want to see it you can use parse_tree and ruby2c but its not a very complete solution -- Ezra Zygmuntowicz ezmobius / gmail.com "Rubyists don't throw rocks at dogs"