From b50032c8eda65e3aca62f13fd13129e70e8e1138 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 6 May 2003 06:51:31 +0000 Subject: * object.c (rb_obj_methods): list singleton methods if recur argument is false; list all methods otherwise. * numeric.c (num_step): double epsilon to make "1.1.step(1.5,0.1)" to work. * ext/gdbm/gdbm.c (fgdbm_values_at): new method to replace select(index..). * ext/sdbm/init.c (fsdbm_values_at): ditto. * ext/dbm/dbm.c (fdbm_values_at): ditto. * ext/dbm/dbm.c (DBM::VERSION): defined. * ext/gdbm/testgdbm.rb: replace select with values_at. * ext/sdbm/testsdbm.rb: ditto. * ext/dbm/testdbm.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- struct.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'struct.c') diff --git a/struct.c b/struct.c index d3467bc67..128ac27ab 100644 --- a/struct.c +++ b/struct.c @@ -541,6 +541,8 @@ rb_struct_values_at(argc, argv, s) for (i=0; i