d-unsed / ruru

Native Ruby extensions written in Rust
MIT License
832 stars 40 forks source link

Add modules to Ruru #57

Open d-unsed opened 7 years ago

d-unsed commented 7 years ago

Add basic support for Modules.

Also there may be some common functionality which is implemented in Class struct. Extract the logic to a trait in this case.

matthiasbeyer commented 7 years ago

Hi. I hope modules will be there soonish, as I want to use this crate to build a ruby-API for one of my projects. Would love to have modules as soon as possible, as I will create a rather big API as far as I can tell by now. And modules would be super-awesome for it!