You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@soutaro What is the process to create/add RBS to this project? I would love to add it and expose users downstream to it, and maybe catch bugs with it too!
Just adding a note to please disregard my last comment since I was confused.
I was talking with @soutaro today about ruby/gem_rbs_collection and it made me realize I totally misunderstood the purpose of the repo. Soutaro mentioned contributing to the gem_rbs_collection is really just for gem signatures maintained by someone outside the gem project. When the project maintainer wants to add signatures, contributors can just use a local sig/ directory in the gem.
I believe the best way currently would be to leverage https://github.com/soutaro/rbs-inline. I'll take a stab at a few higher level classes and get some feedback on the approach
Activity
havenwood commentedon Jun 9, 2022
It would be awesome to add type signatures for Async to the ruby/gem_rbs_collection repo where RBS type signatures are being collected for gems.
havenwood commentedon Aug 2, 2022
Just adding a note to please disregard my last comment since I was confused.
I was talking with @soutaro today about ruby/gem_rbs_collection and it made me realize I totally misunderstood the purpose of the repo. Soutaro mentioned contributing to the
gem_rbs_collectionis really just for gem signatures maintained by someone outside the gem project. When the project maintainer wants to add signatures, contributors can just use a localsig/directory in the gem.ioquatix commentedon Nov 1, 2022
I've thought about this.
I prefer to write the documentation and type signature in the code, as it's currently done.
Then, I want to convert this to RBS type signatures, and incorporate that where possible into type checking/documentation/etc.
I don't want to manually maintain the type signature nor do I think it should be in a separate gem (easy to get out of sync).
@soutaro do you have any thoughts or suggestions about how we can make this work?
maxveldink commentedon Jul 1, 2025
I believe the best way currently would be to leverage https://github.com/soutaro/rbs-inline. I'll take a stab at a few higher level classes and get some feedback on the approach