Thx for help. Now i see what's wrong:
 if moznazbudowac?(kolejka[nr],sesja,stan) == true

kolejka does error. I will fix this tomorrow.




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