Class: Ron::GraphTrace
- Extended by:
- Forwardable
- Defined in:
- lib/ron/graphedge.rb
Overview
represents a path through the object graph
Instance Attribute Summary collapse
-
#points ⇒ Object
readonly
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize(points = []) ⇒ GraphTrace
constructor
A new instance of GraphTrace.
Constructor Details
#initialize(points = []) ⇒ GraphTrace
Returns a new instance of GraphTrace.
13 14 15 |
# File 'lib/ron/graphedge.rb', line 13 def initialize(points=[]) @points=points end |
Instance Attribute Details
#points ⇒ Object (readonly)
Returns the value of attribute points.
17 18 19 |
# File 'lib/ron/graphedge.rb', line 17 def points @points end |