From 8ef2aae2d0350506fb1b12eb0afd56b5b1f51b89 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 22 Dec 2018 10:23:06 +0000 Subject: Use idException git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- rational.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rational.c') diff --git a/rational.c b/rational.c index 076d42707f..a6a94368e8 100644 --- a/rational.c +++ b/rational.c @@ -575,7 +575,7 @@ nurat_f_rational(int argc, VALUE *argv, VALUE klass) static ID kwds[1]; VALUE exception; if (!kwds[0]) { - kwds[0] = rb_intern_const("exception"); + kwds[0] = idException; } rb_get_kwargs(opts, kwds, 0, 1, &exception); raise = (exception != Qfalse); -- cgit v1.2.3