From: rashworth Date: 2001-04-21T00:39:43+09:00 Subject: [ruby-talk:13933] Re: Question on gsub with a block Thank you for your reply. ERA ---------- Original Message ---------------------------------- From: "rashworth" Reply-To: ruby-talk@ruby-lang.org Date: Fri, 20 Apr 2001 23:53:59 +0900 >Dear Mr. Zagorodnikov, Friday, AM > >I have a question of Fonts for Ruby. >Given a plain file where lines 1, 3, 5, ... are in English, and >lines 2, 4, 6, ... are in Russian. >Do you have some Ruby code to read and print the English lines? >Then also do you have some Ruby code to read and print the Russian? >Lastly, can I read and print BOTH the English and Russian lines? > >I use the Windows ME Operating System with an Intel chip. > >Thank you so much. > >Bob Ashworth >Springfield, IL, USA > >---------- Original Message ---------------------------------- >From: "Aristarkh A Zagorodnikov" >Reply-To: ruby-talk@ruby-lang.org >Date: Mon, 16 Apr 2001 14:21:35 +0900 > >>> -----Original Message----- >>> From: Michael Neumann [mailto:neumann@s-direktnet.de] >>> Sent: Sunday, April 15, 2001 2:46 PM >>> To: ruby-talk ML >>> Subject: [ruby-talk:13686] Re: Question on gsub with a block >> >>/skipped/ >> >>> But I think, in Ruby 1.8 there'll be File::read which returns a >>> String object: >>> >>> template = File.read(@template) >> >>It's in 1.7 already :) >> >> >>Aristarkh A Zagorodnikov, Lead Programmer, W3D Group >>http://www.w3d.ru /// xm@w3d.ru /// ICQ UIN 36987938 >> >