Esempio 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);
        }
Esempio 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;
 }
Esempio n. 3
0
 public static void Flush(RubyIO/*!*/ self) {
     self.AssertOpenedForWriting();
     self.Flush();
 }
Esempio n. 4
0
 public static void Flush(RubyIO /*!*/ self)
 {
     self.AssertOpenedForWriting();
     self.Flush();
 }