Class: Utilrb::RubyObjectGraph::ObjectRef

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#objObject (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