public MakeNestedModuleName ( string nestedModuleSimpleName ) : string | ||
nestedModuleSimpleName | string | |
return | string |
public static void SetConstant(RubyModule/*!*/ owner, string/*!*/ name, object value) { Assert.NotNull(owner, name); if (owner.SetConstantChecked(name, value)) { owner.Context.ReportWarning(String.Format("already initialized constant {0}", name)); } // Initializes anonymous module's name: RubyModule module = value as RubyModule; if (module != null && module.Name == null) { module.Name = owner.MakeNestedModuleName(name); } }