A big collection of words to search throughOpening the fileSafely closing the fileSafely closing the file, with a blockDon’t forget about variable scope!Finding array elements we want, with a blockThe verbose way to find array elements, using “each”Introducing a faster method...Blocks have a return valueHow the method uses a block return valuePutting it all togetherA closer look at the block return valuesEliminating elements we don’t want, with a blockThe return values for “reject”Breaking a string into an array of wordsFinding the index of an array elementMaking one array that’s based on another, the hard wayMaking one array based on another, using “map”Some additional logic in the “map” block bodyThe finished productYour Ruby ToolboxUp Next...