Here's a simple problem that seems like a good Ruby exercise.

Given a string containing an Excel-like range specifier like this:   
"C5:E8", generate an array of all the cells in the array.

In this case, the output should be something like this....

["C5", "C6", "C7", "C8", "D5", "D6", "D7", "D8", "E5", "E6", "E7", "E8"]

Ideally, this should also work for a partial range like "A:C" => ["A",  
"B", "C"] and "12:15" => ["12","13","14","15"]

Extra points for style and bonus kudos for a one-liner.

_Kevin
-- 
Posted with http://DevLists.com.  Sign up and save your mailbox.