The Ruby Craftsman
Visualize Ruby with Flowcharts
See Ruby control flow and methods calls as flow charts. Helps developers better understand code and explain it to the non-technical. By using the DSL you already know, Ruby.
Play around with a live Ruby editor demo and see the flow chart being formed on the right.
Write a Ruby class and see method interactions. Works with procedural code and bare methods. This is experimental project and does not support all types of code.
Under the hood this is using GraphViz and parser gem. Parser is used to transform the code to an AST and based on each type converts those to GraphViz nodes and edges to create the flow chart.
It’s open source, visualize_ruby. Feedback and pull-request are welcome.