diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-08 13:44:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-02-08 13:44:31 +0900 |
| commit | 4a2c37df935495fd612377d67bdba0582ad1813e (patch) | |
| tree | 6af67d2f201945ac528ec479cd234017914b977b /src/array.c | |
| parent | 5da7bd3a9133f03eb259fd9858cb08fa56bc53ac (diff) | |
| download | mruby-4a2c37df935495fd612377d67bdba0582ad1813e.tar.gz mruby-4a2c37df935495fd612377d67bdba0582ad1813e.zip | |
made mrb_define_class to return existing class, with heavy refactoring
Diffstat (limited to 'src/array.c')
| -rw-r--r-- | src/array.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/array.c b/src/array.c index ffb76f88e..9fe11bee0 100644 --- a/src/array.c +++ b/src/array.c @@ -1199,7 +1199,6 @@ mrb_init_array(mrb_state *mrb) a = mrb->array_class = mrb_define_class(mrb, "Array", mrb->object_class); MRB_SET_INSTANCE_TT(a, MRB_TT_ARRAY); - mrb_include_module(mrb, a, mrb_class_get(mrb, "Enumerable")); mrb_define_class_method(mrb, a, "[]", mrb_ary_s_create, MRB_ARGS_ANY()); /* 15.2.12.4.1 */ |
