Class: Utilrb::RubyObjectGraph::ObjectRef

Inherits:
Object
  • Object
show all
Includes:
BGL::Vertex
Defined in:
lib/utilrb/ruby_object_graph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objObject (readonly)

Returns the value of attribute obj.



35
36
37
# File 'lib/utilrb/ruby_object_graph.rb', line 35

def obj
  @obj
end