Example #1
0
        public static void Puts(BinaryOpStorage /*!*/ writeStorage, object self, [NotNull] MutableString /*!*/ str)
        {
            Protocols.Write(writeStorage, self, str);

            if (!str.EndsWith('\n'))
            {
                PutsEmptyLine(writeStorage, self);
            }
        }
Example #2
0
        public static void Puts(RubyContext /*!*/ context, object self, [NotNull] MutableString /*!*/ str)
        {
            _WriteSite.Target(_WriteSite, context, self, str);

            if (!str.EndsWith('\n'))
            {
                PutsEmptyLine(context, self);
            }
        }