summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
commit88d5dcc8de20a613d35827198a30010e7ed4279b (patch)
tree7e5d3b3352dbd38446002315e32d41f271167573 /numeric.c
parentba32fdd167304025106d9d79eb12388b29a4b1e6 (diff)
* 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
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 873272e6da..eba6e59bf6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1437,7 +1437,7 @@ num_step(argc, argv, from)
rb_raise(rb_eArgError, "wrong number of arguments");
}
if (rb_equal(step, INT2FIX(0))) {
- rb_raise(rb_eArgError, "step cannot be 0");
+ rb_raise(rb_eArgError, "step can't be 0");
}
}