Beside simple methods to iterate over objects, Ruby Enumerable provides a
number of important higher order constructs that we shall explore in further
challenges. One of such important methods is collect method, also known as
map as the name may suggest, takes a function and maps (applies) it to a collection of
values one by one and returns the collection of result.
This single powerful method helps us to operate on a large number of values at
Note that these methods are different from each in the respect that these
methods return a new collection while former returns the original
collection, irrespective of whatever happens inside the block.
In this challenge, your task is to write a method which takes an array of
strings (containing secret enemy message bits!) and decodes its elements using
ROT13 cipher system; returning an array
containing the final messages.