summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-20 08:56:42 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-20 08:56:42 +0000
commit21e36414c9b1d21f593a236a6a20df507a33b986 (patch)
treec77cf738688717f0571e9eb09ad99c1dadfded86 /range.c
parentfd1d8cdc09ed86e4a0812120a17ff0d7b04adcaf (diff)
This commit was manufactured by cvs2svn to create tag 'v1_1b8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_1b8@87 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/range.c b/range.c
index 9596e07f93..06fef09da4 100644
--- a/range.c
+++ b/range.c
@@ -6,7 +6,7 @@
$Date$
created at: Thu Aug 19 17:46:47 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
@@ -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);