From 88d5dcc8de20a613d35827198a30010e7ed4279b Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 28 Feb 2005 02:45:23 +0000 Subject: * exception error messages updated. [ruby-core:04497] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bignum.c') diff --git a/bignum.c b/bignum.c index 3fecbdcc84..b6cb7b65b4 100644 --- a/bignum.c +++ b/bignum.c @@ -1971,7 +1971,7 @@ rb_big_coerce(x, y) return rb_assoc_new(rb_int2big(FIX2LONG(y)), x); } else { - rb_raise(rb_eTypeError, "Can't coerce %s to Bignum", + rb_raise(rb_eTypeError, "can't coerce %s to Bignum", rb_obj_classname(y)); } /* not reached */ -- cgit v1.2.3