Module: RGL::GraphWrapper

Included in:
GraphIterator, GraphVisitor
Defined in:
lib/laser/third_party/rgl/traversal.rb

Overview

:nodoc:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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

- (Object) 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