diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-06-24 09:27:26 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-06-24 09:27:26 +0900 |
| commit | acb504fa0d9fb98409f297d2bab7f503e46ccef5 (patch) | |
| tree | ccf038939213da30b99ba8931d87bc0d719dbc8a /src/class.c | |
| parent | 1001be2e99720f6745159295aa73c649e08adec8 (diff) | |
| parent | 18337266f838003d631d2c02e6d847ae5375a839 (diff) | |
| download | mruby-acb504fa0d9fb98409f297d2bab7f503e46ccef5.tar.gz mruby-acb504fa0d9fb98409f297d2bab7f503e46ccef5.zip | |
Merge pull request #2853 from jbreeden/alloc_doc
Alloc doc
Diffstat (limited to 'src/class.c')
| -rw-r--r-- | src/class.c | 10 |
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`. * */ |
