Class: Tinydot::Digraph
- Inherits:
-
Object
- Object
- Tinydot::Digraph
- Defined in:
- lib/tinydot/digraph.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Digraph
constructor
A new instance of Digraph.
- #method_missing(name, *args) ⇒ Object
- #to_dot ⇒ Object
Constructor Details
#initialize(name) ⇒ Digraph
Returns a new instance of Digraph.
5 6 7 8 |
# File 'lib/tinydot/digraph.rb', line 5 def initialize(name) @name = name @nodes = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method