public static object EditDocument(YamlStream /*!*/ self, [DefaultProtocol] int index, object document) { return(IListOps.SetElement(self._documents, index, document)); }
public static object EditDocument(RubyContext /*!*/ context, YamlStream /*!*/ self, object index, object document) { return(IListOps.SetElement(context, self.Documents, Protocols.CastToFixnum(context, index), document)); }