Module: Callgraphy

Defined in:
lib/callgraphy.rb,
lib/callgraphy/utils.rb,
lib/callgraphy/version.rb,
lib/callgraphy/registry.rb,
lib/callgraphy/call_graph.rb,
lib/callgraphy/definition.rb

Overview

Provides a DSL for creating call graphs for a target class.

Defined Under Namespace

Modules: Utils Classes: CallGraph, Definition, Registry

Constant Summary collapse

VERSION =
"0.2.1"

Class Method Summary collapse

Class Method Details

.draw(target:, output_directory: ".", &block) ⇒ Object



10
11
12
# File 'lib/callgraphy.rb', line 10

def self.draw(target:, output_directory: ".", &block)
  CallGraph.draw(target, output_directory, Definition.register(&block))
end