summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-06-24 09:27:26 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-06-24 09:27:26 +0900
commitacb504fa0d9fb98409f297d2bab7f503e46ccef5 (patch)
treeccf038939213da30b99ba8931d87bc0d719dbc8a /src
parent1001be2e99720f6745159295aa73c649e08adec8 (diff)
parent18337266f838003d631d2c02e6d847ae5375a839 (diff)
downloadmruby-acb504fa0d9fb98409f297d2bab7f503e46ccef5.tar.gz
mruby-acb504fa0d9fb98409f297d2bab7f503e46ccef5.zip
Merge pull request #2853 from jbreeden/alloc_doc
Alloc doc
Diffstat (limited to 'src')
-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`.
*
*/