Crafting Your First Pry Plugin
by Danny Guinther
Pry bills itself as "a powerful alternative to the standard IRB shell for Ruby", and it ain't kidding. With integrated tools like Slop and Method Source, Pry is a full-fledged Swiss army knife of command-line kung-fu at your disposal. But why stop there? With an architecture built for plugin extension, the limits of Pry are really only a reflection of the limits of your own imagination. So come learn the basics of creating a Pry plugin as we dive into some of Pry's internals and walk through the process of creating a plugin that adds a custom command to the Pry CLI. Where you take it from there, only you know.