Method: TypeProf::Core::ScopedStaticRead#initialize

Defined in:
lib/typeprof/core/env/static_read.rb

#initialize(name, cbase, strict_const_scope) ⇒ ScopedStaticRead

Returns a new instance of ScopedStaticRead.



74
75
76
77
78
79
# File '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