summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-10 08:55:40 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-10 08:55:40 +0000
commitdf0f575e1d1359c75230ab1b70b7ed3059f77306 (patch)
treebc7f10f1e14b365c9e1323549963cd8697c040a2 /marshal.c
parent160c230f94919299b1270e90b961c04fc06cc255 (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/marshal.c b/marshal.c
index 89f9315d13..ca97ee3226 100644
--- a/marshal.c
+++ b/marshal.c
@@ -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;
}