summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 455d353b39..72805e9d67 100644
--- a/object.c
+++ b/object.c
@@ -87,7 +87,7 @@ VALUE
rb_obj_type(obj)
VALUE obj;
{
- rb_warn("`type' is deprecated; use `class'");
+ rb_warn("Object#type is deprecated; use Object#class");
return rb_class_real(CLASS_OF(obj));
}