class TypeProf::Core::BaseStaticRead - typeprof: Ruby Standard Library Documentation

# class TypeProf::Core::BaseStaticRead

### Attributes

cref[R]

### Public Class Methods

new(genv, name, cref) click to toggle source
Calls superclass method `TypeProf::Core::StaticRead::new`

    # File typeprof-0.30.1/lib/typeprof/core/env/static_read.rb, line 60
    def initialize(genv, name, cref)
      super(name)
      @cref = cref
      genv.add_static_eval_queue(:static_read_changed, self)
    end

### Public Instance Methods

on_scope_updated(genv) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/env/static_read.rb, line 68
    def on_scope_updated(genv)
      resolve(genv, @cref, false)
    end