From: Wilbert Berendsen Date: 2001-04-22T04:43:29+09:00 Subject: [ruby-talk:13999] Re: 'A new ruby enthousiast' => 'Question' Tomorrow at 1:19am, I said: > But I have a little question: Can I build ARGF-like objects myself? Of course, I mean: Can I use an ARGF-like class to have my own multifile input sources? Like: > fileNames = ["file1.txt", "file2.txt", "file3.txt"] > f = File.new(fileNames) > string = f.read > f.close Anyway, from reading sources of ruby (io.c) I think it is not possible. (ARGF is a special object). Wilbert