class ScopeB1 class InnerClass; end InnerClass::ScopeA1 end