Project

giraffe

0.0
No commit activity in last 3 years
No release in over 3 years
Generate graphs of your Rails app's partials
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Giraffe¶ ↑

Generate graphs of the partials your Rails app uses

Install¶ ↑

$ gem install giraffe

Dependencies¶ ↑

  • ruby-graphviz

  • graphviz

Usage¶ ↑

g = Giraffe.new("/path/to/app/views")
g.generate("graph.png")

Or, more succinctly:

Giraffe.generate("/path/to/app/views", "graph.png")

giraffe commandline¶ ↑

$ giraffe /path/to/app/views/ graph.png

Todo¶ ↑

It’s pretty naive at the moment, doesn’t deal with anything other than partials included by name etc…

Could do with being a bit more intelligent.