public static object ToYaml(object self, [NotNull] RubyRepresenter /*!*/ emitter) { if (emitter.Level > 0) { // return a node: return(emitter.Represent(self)); } else { // return a string: return(RubyYaml.DumpAll(emitter, new object[] { self }, null)); } }
public static object ToYaml(YamlCallSiteStorage /*!*/ siteStorage, object self, [DefaultParameterValue(null)] object options) { return(RubyYaml.DumpAll(siteStorage, new object[] { self }, null)); }
public static object Emit(RubyContext /*!*/ context, YamlStream /*!*/ self, [Optional] RubyIO io) { return(RubyYaml.DumpAll(context, self.Documents, io)); }
public static object Emit(YamlCallSiteStorage /*!*/ siteStorage, YamlStream /*!*/ self, [Optional] RubyIO io) { return(RubyYaml.DumpAll(siteStorage, self._documents, io)); }
public static object ToYaml(RubyContext /*!*/ context, object self, params object[] args) { return(RubyYaml.DumpAll(context, new object[] { self }, null)); }