Not terribly difficult to accomplish.  Check out the .split() method of
the string class:

http://ruby-doc.org/core/classes/String.html#M000803


On Thu, 2010-09-16 at 18:17 -0500, Ian Ian wrote:
> I'm new to ruby and I was trying to solve a problem where I convert a
> number into an array in such a way.
> 
> If I have the number 12345, how do I take that number and put it into an
> array but where each element is a digit of the number 12345?
> 
> If this is the wrong place to have posted such a question (for various
> reasons) then let me know.