diff options
| author | dearblue <[email protected]> | 2019-12-14 21:30:44 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2019-12-14 21:30:44 +0900 |
| commit | 184ad732df68a63d7f864b051b931e88259ce38f (patch) | |
| tree | f7b6490bc324cbbac651ccff7319b981379e269a /src/array.c | |
| parent | 6c5ee8f79e430354fe7e569553bda2d6f79b7aee (diff) | |
| download | mruby-184ad732df68a63d7f864b051b931e88259ce38f.tar.gz mruby-184ad732df68a63d7f864b051b931e88259ce38f.zip | |
Fix for `#methods` to include methods that were `undef`
If `#methods` traverse the super class, it includes the methods that
were does `undef` in the subclass.
Before patched:
```terminal
% bin/mruby -e 'p Module.instance_methods - Class.instance_methods'
[]
```
After patched:
```terminal
% bin/mruby -e 'p Module.instance_methods - Class.instance_methods'
[:append_features, :extend_object]
```
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions
