preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.71k stars 142 forks source link

Use RbConfig to detect host OS and handle sed parameters accordingly #37

Closed peterhoeg closed 12 years ago

peterhoeg commented 12 years ago

Fix for #36 - use RbConfig to detect host OS and handle sed parameters accordingly.

Before this bit goes any further, I strongly advise anybody who has the time to look into why railroady is spitting out those ansi codes to begin with. Using sed to strip them out is definitely an ugly hack.