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