Flowdock
method

to_svg

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: TransitionTable
to_svg() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/journey/gtg/transition_table.rb, line 78
        def to_svg
          svg = IO.popen("dot -Tsvg", "w+") { |f|
            f.write(to_dot)
            f.close_write
            f.readlines
          }
          3.times { svg.shift }
          svg.join.sub(/width="[^"]*"/, "").sub(/height="[^"]*"/, "")
        end
Register or log in to add new notes.