From: "Thairuby ->a, b {a + b}" Date: 2009-09-28T02:31:52+09:00 Subject: Re: Is it possible to eliminate the temporary variable Is this work? def file_process @data=[] File.foreach(@file) {|a_line| @data << a_line.chomp.split(/\t/)} end -- Posted via http://www.ruby-forum.com/.