Scenario  ..

I have a text file

23
24
56
78
90
89

I want to transfer this content into an array,
numArr=[23,24,56,78,90,89]

How to do it
-- 
Posted via http://www.ruby-forum.com/.