summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 14:26:16 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-29 14:26:16 +0000
commitc7e236efc17ca06d73fd17ed2edb736ed09129d8 (patch)
tree442854feaeec204ccbfe3d1202ee3a717135562d /bignum.c
parentad004644893b2f867521c3f215753cf8c04ea887 (diff)
* bignum.c (rb_cstr_to_inum): changed an error message.
* complex.c (string_to_c_strict): ditto. * rational.c (string_to_r_strict): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 4a81a314fd..dec147ae3c 100644
--- a/bignum.c
+++ b/bignum.c
@@ -583,7 +583,7 @@ rb_cstr_to_inum(const char *str, int base, int badcheck)
while (*str && ISSPACE(*str)) str++;
if (*str) {
bad:
- rb_invalid_str(s, "Integer");
+ rb_invalid_str(s, "Integer()");
}
}