[#372] Store and load — "Michael Neumann" <neumann@...>
Hi...
8 messages
1999/06/02
[#386] UnixZone — gotoken@... (GOTO Kentaro)
Hi,
5 messages
1999/06/08
[ruby-talk:00375] Re: Store and load
From:
gotoken@... (GOTO Kentaro)
Date:
1999-06-03 03:55:17 UTC
List:
ruby-talk #375
Hi,
In message "[ruby-talk:00372] Store and load"
on 99/06/02, "Michael Neumann" <neumann@s-direktnet.de> writes:
>My idea is to do the same for reading. So a method "load" should be defined in class Object and ">>" in IO.
I don't think IO#>> is useful because `io >> a >> b' is not easier to
read for me. Would you show me some examples of use?
And I have a question. How can the length of input be determined?
Do you think `$/' for the separator? It probably requires that the io
supports ungetc or rewinding feature.
On the other hand, in Kernel module a method which is named `load' is
already defined as a function to load and to execute.
-- gotoken