class TypeProf::Core::ConstReadBox
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/graph/box.rb, line 54 def initialize(node, genv, const_read) super(node) @const_read = const_read const_read.followers << self @ret = Vertex.new(node) genv.add_run(self) end
Calls superclass method
TypeProf::Core::Box::new
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/graph/box.rb, line 64 def run0(genv, changes) cdef = @const_read.cdef if cdef changes.add_depended_value_entity(cdef) changes.add_edge(genv, cdef.vtx, @ret) end end