I have added documentation for versioned RBI annotations (https://github.com/Shopify/rbi/pull/180), which allow us to specify gem versions for specific methods and constants.
To do this, I have added a rbi/documentation folder, where more docs like this could live in the future to help people write RBIs. That might be overkill. Let me know what you think!
Type of Change
Changes
I have added documentation for versioned RBI annotations (https://github.com/Shopify/rbi/pull/180), which allow us to specify gem versions for specific methods and constants.
To do this, I have added a
rbi/documentation
folder, where more docs like this could live in the future to help people write RBIs. That might be overkill. Let me know what you think!