Class: Utilrb::RubyObjectGraph::ObjectRef
- Includes:
- BGL::Vertex
- Defined in:
- lib/utilrb/ruby_object_graph.rb
Overview
This class is used to store any ruby object into a BGL::Graph (i.e. the live graph)
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
The referenced object.
Instance Method Summary collapse
- #__ruby_object_graph_internal__ ⇒ Object
-
#initialize(obj) ⇒ ObjectRef
constructor
A new instance of ObjectRef.
Constructor Details
#initialize(obj) ⇒ ObjectRef
Returns a new instance of ObjectRef.
77 78 79 |
# File 'lib/utilrb/ruby_object_graph.rb', line 77 def initialize(obj) @obj = obj end |
Instance Attribute Details
#obj ⇒ Object (readonly)
The referenced object
73 74 75 |
# File 'lib/utilrb/ruby_object_graph.rb', line 73 def obj @obj end |
Instance Method Details
#__ruby_object_graph_internal__ ⇒ Object
75 |
# File 'lib/utilrb/ruby_object_graph.rb', line 75 def __ruby_object_graph_internal__; end |