steveklabnik / request_store

Per-request global storage for Rack.
https://github.com/steveklabnik/request_store
MIT License
1.47k stars 87 forks source link

Docs: add fetch #79

Closed tradiff closed 2 years ago

tradiff commented 2 years ago

It took me an embarrassing amount of time to notice the lowly fetch method contained a yield statement. I've added documentation for this powerhouse of a method so others will recognize it's capabilities sooner. Note: I put this in a new section called "API" so we can further document other methods if desired.