Class: SingleFunctionGraph
- Inherits:
-
FunctionGraph
- Object
- Graph
- FunctionGraph
- SingleFunctionGraph
- Defined in:
- lib/codegraph.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#func ⇒ Object
Returns the value of attribute func.
Attributes inherited from FunctionGraph
#adds, #debug, #excludes, #funx
Instance Method Summary collapse
-
#initialize(config) ⇒ SingleFunctionGraph
constructor
Constructor, which creates an empty graph for the rootfunction <func>.
Methods inherited from FunctionGraph
Methods inherited from Graph
Constructor Details
#initialize(config) ⇒ SingleFunctionGraph
Constructor, which creates an empty graph for the rootfunction <func>
206 207 208 209 210 211 212 213 |
# File 'lib/codegraph.rb', line 206 def initialize(config) super(config) # Holds the func'n names, that are allready scanned @scannednames = [] # Root func @func = @config[:function] scan(self,@func) end |
Instance Attribute Details
#func ⇒ Object
Returns the value of attribute func.
203 204 205 |
# File 'lib/codegraph.rb', line 203 def func @func end |