From: "Serdar Kılıç" Date: 2006-01-31T14:54:00+09:00 Subject: Array prepending nil object I'm going through Brian Schr�der's tutorial and hit a small snag. The code is (on page 16): print 'Array as stack: ' stack = Array.new() stack.push('a') stack.push('b') stack.push('c') print stack.pop until stack.empty? The display that I'm getting is: Array as stack: cbanil So somehow nil is creeping it's way into my array but I'm not sure how. Any ideas? -- Cheers, Serdar Kilic http://weblog.kilic.net/