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.
1 year agoi 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.
1 year ago