From: Le Lann Jean-Christophe Date: 2008-04-06T21:47:13+09:00 Subject: Re: Lisper says to rubyist: gimmie your syntax tree jeff.sykes.rb@gmail.com a �crit : > So ... why not ... > > # Manipulate the AST > SyntaxTree.each_node { |node| > if node.ast_type == :method_call and node.method_name == "trace" > node.ast_type = :noop # or remove it, or whatever > end > } > I am also looking for something similar in Ruby (programNodeEnumerator of Smalltalk is so great !) I've found these remarks : -http://www.jroller.com/murphee/entry/ruby_let_s_get_an -http://r2.ifs.hsr.ch/rubyrefactoring.pdf Hope this helps. JC