Ejemplo n.º 1
0
        public static int Write(RubyIO /*!*/ self, [NotNull] MutableString /*!*/ val)
        {
            self.AssertOpenedForWriting();
            int bytesWritten = self.Write(val);

            if (self.AutoFlush)
            {
                self.Flush();
            }
            return(bytesWritten);
        }
Ejemplo n.º 2
0
 public static int Write(RubyIO/*!*/ self, [NotNull]MutableString/*!*/ val) {
     self.AssertOpenedForWriting();
     int bytesWritten = self.Write(val);
     if (self.AutoFlush) {
         self.Flush();
     }
     return bytesWritten;
 }