But there is another error in this code that is basically the same but 
corrected in some things
so this is the error
[code]
sort_cor.rb:13:in `<': comparison of String with nil failed 
(ArgumentError)
from C:/sort_cor.rb:13:in `sort'
from C:/sort_cor.rb:30:in `<main>'
[code]
and I don't understand why is giving me nil

Attachments:
http://www.ruby-forum.com/attachment/6939/sort_cor.rb


-- 
Posted via http://www.ruby-forum.com/.