• dearblue's avatar
    Fix for `#methods` to include methods that were `undef` · 184ad732
    dearblue authored
    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]
    ```
    184ad732
metaprog.c 19.6 KB