Class: Utilrb::RubyObjectGraph::ObjectRef
- Includes:
- BGL::Vertex
- Defined in:
- lib/utilrb/ruby_object_graph.rb
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
Instance Method Summary collapse
-
#initialize(obj) ⇒ ObjectRef
constructor
A new instance of ObjectRef.
Constructor Details
#initialize(obj) ⇒ ObjectRef
Returns a new instance of ObjectRef.
36 37 38 |
# File 'lib/utilrb/ruby_object_graph.rb', line 36 def initialize(obj) @obj = obj end |
Instance Attribute Details
#obj ⇒ Object (readonly)
Returns the value of attribute obj.
35 36 37 |
# File 'lib/utilrb/ruby_object_graph.rb', line 35 def obj @obj end |