summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJared Breeden <[email protected]>2015-06-22 23:19:58 -0700
committerJared Breeden <[email protected]>2015-06-22 23:19:58 -0700
commit9781580c7134fcee7bf5a6d4356bc47593549da8 (patch)
treee009a6bba25a8465a20c947688363bb8f3023de7
parente344c6ab6d7b3d6a8ffcec6f7f96aeba6c5fdeda (diff)
downloadmruby-9781580c7134fcee7bf5a6d4356bc47593549da8.tar.gz
mruby-9781580c7134fcee7bf5a6d4356bc47593549da8.zip
Fixes #912
-rw-r--r--src/class.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/class.c b/src/class.c
index 35c3aa040..05b549b3e 100644
--- a/src/class.c
+++ b/src/class.c
@@ -1174,11 +1174,11 @@ mrb_instance_alloc(mrb_state *mrb, mrb_value cv)
* call-seq:
* class.new(args, ...) -> obj
*
- * Calls <code>allocate</code> to create a new object of
- * <i>class</i>'s class, then invokes that object's
- * <code>initialize</code> method, passing it <i>args</i>.
- * This is the method that ends up getting called whenever
- * an object is constructed using .new.
+ * Creates a new object of <i>class</i>'s class, then
+ * invokes that object's <code>initialize</code> method,
+ * passing it <i>args</i>. This is the method that ends
+ * up getting called whenever an object is constructed using
+ * `.new`.
*
*/