1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

1.1b8pre1

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@76 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1998-02-18 01:56:47 +00:00
parent 14aa2e8dda
commit a9662810df
26 changed files with 775 additions and 290 deletions

View file

@ -18,8 +18,8 @@ extern VALUE cNumeric;
static ID upto;
static VALUE
range_s_new(class, first, last)
VALUE class, first, last;
range_s_new(klass, first, last)
VALUE klass, first, last;
{
VALUE obj;
@ -32,7 +32,7 @@ range_s_new(class, first, last)
ArgError("bad value for range");
}
obj = obj_alloc(class);
obj = obj_alloc(klass);
rb_iv_set(obj, "first", first);
rb_iv_set(obj, "last", last);