Ruby Snippets
Ruby code snippets for common classes, modules, blocks, and testing workflows.
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Ruby Snippets. The extension's id is ruby-snippets.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Ruby Snippets for Zed
Ruby language snippets for Zed. The collection includes class, module, method, enumerable, exception-handling, conditional, Minitest, and RSpec templates.
Development
Install the repository from Zed's Extensions page using Install Dev Extension, then select this repository's root folder. Open a Ruby file and enter one of the snippet prefixes in the completion menu.
Provenance
The snippets are derived from Shopify Ruby LSP. They were incorporated into the Zed Ruby extension before being extracted into this standalone extension and subsequently modified for Zed.
See Third-Party Notices for attribution.
License
Licensed under the Apache License, Version 2.0.