danielpclark / rutie

“The Tie Between Ruby and Rust.”
MIT License
940 stars 62 forks source link

implement VM::call_super -> rb_call_super #135

Closed askreet closed 3 years ago

askreet commented 3 years ago

This patch adds a way to call super from a method. My use case is ensuring superclass initialize is called from a module that also defines an initialize of it's own (whether or not that's a good idea notwithstanding).

Not sure where to start in writing doc/test for this, open to pointers on next steps before acceptance.

danielpclark commented 3 years ago

This is now in the master branch and Rutie crate 0.8.2