Class: YaGraph::Element
- Inherits:
-
Object
- Object
- YaGraph::Element
- Defined in:
- lib/yagraphlib.rb
Instance Method Summary collapse
Instance Method Details
#random_id ⇒ Object
35 36 37 |
# File 'lib/yagraphlib.rb', line 35 def random_id() (0...16).map { (65 + rand(26)).chr }.join end |
#to_graphviz(out) ⇒ Object
26 |
# File 'lib/yagraphlib.rb', line 26 def to_graphviz(out) "" end |
#uid ⇒ Object
31 32 33 |
# File 'lib/yagraphlib.rb', line 31 def uid() @uid ||= random_id() end |