ConvertToFieldName() static private method

static private ConvertToFieldName ( RubyContext context, object name ) : string
context RubyContext
name object
return string
Ejemplo n.º 1
0
 private static IEnumerable <KeyValuePair <string, object> > /*!*/ EnumerateAttributes(RubyContext /*!*/ context, Hash /*!*/ mapping)
 {
     foreach (var entry in mapping)
     {
         yield return(new KeyValuePair <string, object>("@" + RubyRepresenter.ConvertToFieldName(context, entry.Key), entry.Value));
     }
 }