From: "and.u" Date: 2001-01-09T01:50:33+09:00 Subject: [ruby-talk:8881] Re: About string return from IO::gets I'm a ruby newbie. I use ruby to write network daemon, which support a interactive protocol like SMTP/POP. So I think using io.gets is simple way. For some reason, I want to limit chars which are read actually. Thanks. Regards Andy Yu Aleksi Niemel� wrote: > >Gotoken wrote: >> p.s. We denote by `IO::gets' a class method `gets' (which does not >> exist as built-in); IO#gets stands for an instance method `gets' >> of IO. These distinction make our comminication clearer :-) > >Um, I might be mistaken here, but isn't IO.gets a notation for a IO's class >method gets. I guess IO::gets does the same, but ::-notation is "saved" for >denoting namespaces (Module::Class). > >I'm all for enhanced communication, so clearing possible confusion on this >point is very good. > > - Aleksi >