[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:23256

From: knu ruby-lang.org
Date: Mon, 14 Apr 2008 20:03:43 +0900 (JST)
Subject: [ruby-cvs:23256] Ruby:r16016 (ruby_1_8): * array.c (rb_ary_flatten, rb_ary_flatten_bang): Take an optional

knu	2008-04-14 20:03:42 +0900 (Mon, 14 Apr 2008)

  New Revision: 16016

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/NEWS
    branches/ruby_1_8/array.c
    branches/ruby_1_8/test/ruby/test_array.rb

  Log:
    * array.c (rb_ary_flatten, rb_ary_flatten_bang): Take an optional
      argument that determines the level of recursion to flatten;
      backported from 1.9.
    
    * array.c (rb_ary_shuffle_bang, rb_ary_shuffle, rb_ary_choice,
      rb_ary_cycle, rb_ary_permutation, rb_ary_combination,
      rb_ary_product, rb_ary_take, rb_ary_take_while, rb_ary_drop,
      rb_ary_drop_while): New methods: Array#shuffle, #shuffle!,
      #choice, #cycle, #permutation, #combination, #product, #take,
      #take_while, #drop, #drop_while; backported from 1.9.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16016&r2=16015&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/array.c?r1=16016&r2=16015&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/ruby/test_array.rb?r1=16016&r2=16015&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/NEWS?r1=16016&r2=16015&diff_format=u


[前][次][番号順一覧][スレッド一覧][生データ]