glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
609 stars 116 forks source link

Extracted xDOTScript to DOTScript class #52

Closed markus1189 closed 12 years ago

markus1189 commented 12 years ago

Hi,

me again! :)

I extracted the xDOTScript from lib/graphviz.rb to a new class 'DOTScript'

This makes it easier to build the final script ( I think )

I am not quite sure if the gsub("\n", ...) (=> See annotation in commit ) was required because the tests are passing without it.

Markus