Summary
In summary, we saw how grep
is an elegant and easy way to search through small collections. We also walked through how grep
can be utilized in place of various other Ruby methods, such as select
.
In the next chapter, we're going to analyze how to work with external code libraries, specifically Ruby gems.