diff options
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; } |