예제 #1
0
        public object ruby_print(RBasic r, params object[] o)
        {
            string s = String.Empty;

            if (o.Length == 0)
            {
                s = obj_to_s(NetRuby.lastLineGetter(0, null, ruby));
            }
            else
            {
                foreach (object x in o)
                {
                    s += obj_to_s(x);
                }
            }
            System.Console.Out.Write(s);
            return(null);
        }