A command-line utility to generate Graphviz graphs from a set of objects
@see Graph#run @since 0.6.0
# File lib/yard/cli/graph.rb, line 24 def description "Graphs class diagram using Graphviz" end
Runs the command-line utility.
@example
grapher = Graph.new grapher.run('--private')
@param [Array<String>] args each tokenized argument
# File lib/yard/cli/graph.rb, line 34 def run(*args) Registry.load optparse(*args) contents = objects.map {|o| o.format(options) }.join("\n") Templates::Engine.render(:format => :dot, :type => :layout, :verifier => @verifier, :serializer => @serializer, :contents => contents) end
Generated with the Darkfish Rdoc Generator 2.