kernel/common/static_scope.rb
# Use the same info as the current StaticScope, but set current_module to
# +mod+. Chains off the current StaticScope.
Use the same info as the current StaticScope, but set current_module to
+mod+. Chains off the current StaticScope.
Use the same info as the current StaticScope but set current_module to + mod + . Chains off the current StaticScope .
def using_current_as(mod)
    if top_level?
      ss = dup
    else
      ss = StaticScope.new @module, self
    end
    ss.current_module = mod
    return ss
  end
def using_current_as ( mod ) if top_level? ss = dup else ss = StaticScope . new @module , self end ss . current_module = mod return ss end
Use the same info as the current StaticScope, but set current_module to
+mod+.
Use the same info as the current StaticScope but set current_module to + mod + .
# Don't chain up if this is a toplevel, create a new one.
mod
<not_specific>