Module: RGL::GraphWrapper
- Included in:
- GraphIterator, GraphVisitor
- Defined in:
- lib/laser/third_party/rgl/traversal.rb
Overview
:nodoc:
Instance Attribute Summary (collapse)
-
- (Object) graph
Returns the value of attribute graph.
Instance Method Summary (collapse)
-
- (GraphWrapper) initialize(graph)
Creates a new GraphWrapper on graph.
Instance Attribute Details
- (Object) graph
Returns the value of attribute graph
19 20 21 |
# File 'lib/laser/third_party/rgl/traversal.rb', line 19 def graph @graph end |
Instance Method Details
- (GraphWrapper) initialize(graph)
Creates a new GraphWrapper on graph.
22 23 24 |
# File 'lib/laser/third_party/rgl/traversal.rb', line 22 def initialize (graph) @graph = graph end |