class TypeProf::Core::ScopedStaticRead
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/env/static_read.rb, line 74 def initialize(name, cbase, strict_const_scope) super(name) @cbase = cbase @cbase.followers << self if @cbase @search_ancestors = !strict_const_scope end
Calls superclass method
TypeProf::Core::StaticRead::new
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/env/static_read.rb, line 81 def on_cbase_updated(genv) if @cbase && @cbase.cpath resolve(genv, CRef.new(@cbase.cpath, :class, nil, nil), @search_ancestors, true) else resolution_failed(genv) end end