Viewing Abstract Syntax Trees

How can I view the AST that corresponds with a ruby file?

I have read about -X:ShowASTs and -X:DumpASTs, but they don’t seem to be
valid command line switches for IronRuby 0.6.

Thank you very much,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs