Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 60 lines (40 sloc) 1.695 kB
edb04cc @drbrain Add ZenCallGraph.
drbrain authored
1 ZenCallGraph
2 by Eric Hodel <drbrain@segment7.net>
3 http://seattlerb.rubyforge.org/ZenCallGraph
4
5 == DESCRIPTION:
6
7 Creates a dot graph for the call structure of a Ruby program.
8
9 == FEATURES/PROBLEMS:
10
11 * Include or exclude classes by name
12 * Group calls by class
13
14 == SYNOPSIS:
15
16 To dump a call graph to $stdout:
17
18 require 'zen_call_graph'
19 ZenCallGraph.run
20
21 To supply options to ZenCallGraph:
22
23 require 'zen_call_graph'
24 ZenCallGraph.run $stdout, :cluster => true, :include_classes => /Array/
25
26 == REQUIREMENTS:
27
28 * ruby 1.8.2 or newer
29 * ZenHacks
30 * Graphviz
31
32 == INSTALL:
33
34 sudo gem install ZenCallGraph
35
36 == LICENSE:
37
38 (The MIT License)
39
40 Copyright (c) 2007 Eric Hodel
41
42 Permission is hereby granted, free of charge, to any person obtaining
43 a copy of this software and associated documentation files (the
44 'Software'), to deal in the Software without restriction, including
45 without limitation the rights to use, copy, modify, merge, publish,
46 distribute, sublicense, and/or sell copies of the Software, and to
47 permit persons to whom the Software is furnished to do so, subject to
48 the following conditions:
49
50 The above copyright notice and this permission notice shall be
51 included in all copies or substantial portions of the Software.
52
53 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
54 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
56 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
57 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
58 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
59 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.