Search Ruby Methods and Classes in the Command Line with Ruby Interactive (ri)
If you’re new to Ruby programming, there’s a good chance you’re spending a lot of your time googling what methods to use in particular situations and how to apply them syntactically.
This is an inherent part of programming at any level and completely fine. But you may be unaware that many of the answers you’re looking for on Google are built into Ruby and readily available in the command line.
If, for instance, you want to figure out how to use Ruby’s select method, simply…