ruby--ruby/test/ruby
matz 5675cdbd41 * eval.c: unify ruby_class (for method definition) and ruby_cbase
(for constant reference).

* eval.c (rb_call0): use TMP_ALLOC() instead of allocating
  a temporary array object.

* eval.c (eval): need not to protect $SAFE value.
  [ruby-core:07177]

* error.c (Init_Exception): change NameError to direct subclass of
  Exception so that default rescue do not handle it silently.

* struct.c (rb_struct_select): update RDoc description.
  [ruby-core:7254]

* numeric.c (int_upto): return an enumerator if no block is
  attached to the method.

* numeric.c (int_downto): ditto.

* numeric.c (int_dotimes): ditto.

* enum.c (enum_first): new method Enumerable#first to take first n
  element from an enumerable.

* enum.c (enum_group_by): new method Enumerable#group_by that
  groups enumerable values according to their block values.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03 09:15:42 +00:00
..
beginmainend.rb
endblockwarn.rb
envutil.rb * eval.c: unify ruby_class (for method definition) and ruby_cbase 2006-02-03 09:15:42 +00:00
marshaltestlib.rb
test_alias.rb
test_array.rb * test/ruby/test_array.rb (test_misc): added some tests 2005-11-20 01:26:39 +00:00
test_assignment.rb * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched 2005-10-08 10:45:52 +00:00
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_clone.rb
test_condition.rb
test_const.rb
test_defined.rb
test_dir.rb * win32/win32.c (rb_w32_seekdir): should not segfault even if passed 2006-01-01 05:49:01 +00:00
test_env.rb * test/ruby/test_env.rb (setup, teardown): do not depend on the behavior setting nil. 2005-07-14 23:29:45 +00:00
test_eval.rb * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb, 2005-10-22 04:48:34 +00:00
test_exception.rb
test_file.rb * test/ruby/test_file.rb: check File#chown(nil,nil). [ruby-dev:27140] 2005-09-22 21:01:58 +00:00
test_float.rb * test/ruby/test_float.rb (test_precision): test by assert_in_delta. 2005-10-30 17:37:31 +00:00
test_fnmatch.rb * test/ruby/test_fnmatch.rb: separated from test_file.rb. 2005-08-08 12:30:12 +00:00
test_gc.rb
test_hash.rb
test_ifunless.rb
test_io.rb
test_iterator.rb * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched 2005-10-08 10:45:52 +00:00
test_lambda.rb * lib/ostruct.rb (new_ostruct_member): Object#send no longer call 2005-09-12 23:09:39 +00:00
test_marshal.rb
test_math.rb
test_method.rb * test/ruby/test_method.rb: added. [ruby-dev:26761] 2005-08-08 11:43:56 +00:00
test_pack.rb
test_path.rb * file.c (rb_file_s_basename): skip slashes just after UNC top slashes. 2005-11-22 05:39:50 +00:00
test_pipe.rb
test_proc.rb
test_rand.rb add test_rand_0x100000000. 2005-02-07 16:11:14 +00:00
test_range.rb * range.c (range_max): treat end exclusion without iteration if 2005-11-25 05:42:28 +00:00
test_readpartial.rb * test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio): 2005-09-17 05:57:53 +00:00
test_regexp.rb
test_settracefunc.rb * eval.c (rb_call0): "return" event hook should be always executed 2005-04-07 08:38:05 +00:00
test_signal.rb * test/ruby/test_signal.rb (test_exit_action): skip the test using 2005-09-15 13:42:15 +00:00
test_sprintf.rb
test_string.rb
test_stringchar.rb
test_struct.rb * struct.c: accessing >10 member caused segmentation fault. [ruby-dev:26247] 2005-06-01 15:03:09 +00:00
test_super.rb * test/ruby/test_super.rb: added optional arg tests. [ruby-dev:26743] 2005-08-07 14:57:19 +00:00
test_symbol.rb * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047] 2005-12-19 14:33:11 +00:00
test_system.rb fix "-e:1: undefined method `sub' for main:Object (NoMethodError)" 2005-12-29 14:54:13 +00:00
test_time.rb
test_trace.rb
test_variable.rb
test_whileuntil.rb * eval.c (rb_mod_define_method): should save safe_level in the 2005-12-29 11:53:33 +00:00
ut_eof.rb duplicate tests removed. 2005-03-06 03:02:52 +00:00