class Twb::Util::Graphedges
Attributes
edges[RW]
root[R]
@root - the graph's root node @edges - the collection of the graph's edges
Public Class Methods
new(root = nil)
click to toggle source
# File lib/twb/util/graphedges.rb, line 26 def initialize (root = nil) @root = root if root.instance_of? Twb::Util::Graphnode @edges = [] end
Public Instance Methods
to_s()
click to toggle source
# File lib/twb/util/graphedges.rb, line 31 def to_s "Root:'%s' edges::%s::" % [@root.to_s, @edges.to_s] end