i make beer, music, and code. sometimes in that order. @aberant on twitter

cool feature of ruby 1.9 - ripper

i recently stumbled across an interesting class in the ruby 1.9 standard library - ripper.  it generates an abstract syntax tree for a given bit of ruby code.  here are a couple examples of how to use it.

Comments
blog comments powered by Disqus