tapioca
tapioca copied to clipboard
Add compiler for Rails.env methods
Motivation
Why spend 10 seconds manually typing up shims if I can spend 10 minutes writing a compiler? Across all Tapioca users the math checks out: https://xkcd.com/1205/
Implementation
I figured DEFAULT_ENVIRONMENTS can be skipped since https://github.com/Shopify/rbi-central/blob/7d98e7310d9ac5c6d34a48c05fb74f75dfc2d4ef/rbi/annotations/activesupport.rbi#L8-L21 already covers these.