summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--object.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e565d23695..b942165d63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar 17 06:56:58 2012 Eric Hodel <drbrain@segment7.net>
+
+ * object.c: Fix indentation of Class#inherited example.
+
Sat Mar 17 01:46:05 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* string.c (trnext): fix bug with string ending with '\\'.
diff --git a/object.c b/object.c
index 80700fdccd..63af8a2f90 100644
--- a/object.c
+++ b/object.c
@@ -627,9 +627,9 @@ rb_obj_tap(VALUE obj)
* Example:
*
* class Foo
- * def self.inherited(subclass)
- * puts "New subclass: #{subclass}"
- * end
+ * def self.inherited(subclass)
+ * puts "New subclass: #{subclass}"
+ * end
* end
*
* class Bar < Foo