From 8d4baab08fd1ae6499406c527db5d5fd6a014e02 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 7 Jan 2012 15:21:09 +0000 Subject: Fix typo of rdoc of Object#inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/object.c b/object.c index 3456e47f68..24d85d428b 100644 --- a/object.c +++ b/object.c @@ -425,9 +425,9 @@ inspect_obj(VALUE obj, VALUE str, int recur) * Returns a string containing a human-readable representation of obj. * By default, if the obj has instance variables, show the class name * and instance variable details which is the list of the name and the result - * of inspect method for each instance variables. + * of inspect method for each instance variable. * Otherwise uses the to_s method to generate the string. - * If the to_s mthoed is overridden, uses it. + * If the to_s method is overridden, uses it. * User defined classes should override this method to make better * representation of obj. When overriding this method, it should * return a string whose encoding is compatible with the default external -- cgit v1.2.3