diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 08:55:40 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-10 08:55:40 +0000 |
commit | df0f575e1d1359c75230ab1b70b7ed3059f77306 (patch) | |
tree | bc7f10f1e14b365c9e1323549963cd8697c040a2 /marshal.c | |
parent | 160c230f94919299b1270e90b961c04fc06cc255 (diff) | |
download | ruby-df0f575e1d1359c75230ab1b70b7ed3059f77306.tar.gz |
Fix grammos regarding the verb "refer".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -180,7 +180,7 @@ class2path(VALUE klass) n); } if (rb_path2class(n) != rb_class_real(klass)) { - rb_raise(rb_eTypeError, "%s can't be referred", n); + rb_raise(rb_eTypeError, "%s can't be referred to", n); } return path; } @@ -1164,7 +1164,7 @@ path2class(const char *path) VALUE v = rb_path2class(path); if (TYPE(v) != T_CLASS) { - rb_raise(rb_eArgError, "%s does not refer class", path); + rb_raise(rb_eArgError, "%s does not refer to class", path); } return v; } @@ -1175,7 +1175,7 @@ path2module(const char *path) VALUE v = rb_path2class(path); if (TYPE(v) != T_MODULE) { - rb_raise(rb_eArgError, "%s does not refer module", path); + rb_raise(rb_eArgError, "%s does not refer to module", path); } return v; } |