From: TAKAHASHI Masayoshi Date: 2002-11-12T02:19:12+09:00 Subject: ruby-dev summary 18613-18710 Hi all, One of the happiest things for me in RubyConf2002 was to meet readers of this summary. Thanks again! And, this is a summary of ruby-dev ML in these days. ---- ruby-dev #18613-18710 (2002-10-31 ... 2002-11-08) ---- [ruby-dev:18651] Enumerable#zip Matz implemented Enumerable#zip method, but he has not decide its behavior yet. Enumerable#zip is a method to mix some sequences(Array or Object which has to_ary method). But, when length of sequences are not same, the behavior is not clear. a = [1,2,3,4] b = [2,4] a.zip(b) #=> ? a.) a.zip(b) #=> [[1,2],[2,4],[3,nil],[4,nil]] b.) a.zip(b) #=> [[1,2],[2,4]] c.) a.zip(b) #=> [[1,2],[2,4],[3,nil],[4,nil]] b.zip(a) #=> [[2,1],[4,2]] e.) a.zip(b) #=> raise Exception (ArgumentError(?)) There is a discussion whether Enumerable#zip is appropriate or not. ex. * Enumerable.zip(a, b, c...) * Array.zip(a, b, c...) * [a, b, c..].zip [ruby-dev:18652] Re: 1.6.8 preview The first preview version of Ruby 1.6.8 is available. ftp.ruby-lang.org:/pub/ruby/1.6/ruby-1.6.8-preview1.tar.gz (2002/11/11: now second preview version of one is avalible. ftp.ruby-lang.org:/pub/ruby/1.6/ruby-1.6.8-preview2.tar.gz ) This package is just only preview and it has a well known problem (dRuby's UnitTest is not passed). A patch to solve this problem has been made by nobu, but Matz does not have enough time to verify it. Moreover, Akinori MUSHA got a report that 1.6.8 preview1 made too many warning with -w option ([ruby-dev:18705]). [ruby-dev:18683] Re: ERb Masatoshi SEKI released ERb 2.0b2. http://www2a.biglobe.ne.jp/~seki/ruby/erb-2.0b2.tar.gz ERb is pure Ruby implementation of eRuby. If there is no problem, it will be in standard distribution of Ruby. Regards, TAKAHASHI 'Maki' Masayoshi E-mail: maki@rubycolor.org