예제 #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);
        }
예제 #2
0
파일: IoOps.cs 프로젝트: m4dc4p/ironruby
 public static int Write(RubyIO/*!*/ self, [NotNull]MutableString/*!*/ val) {
     self.AssertOpenedForWriting();
     int bytesWritten = self.Write(val);
     if (self.AutoFlush) {
         self.Flush();
     }
     return bytesWritten;
 }