Prev: Dont know where to look :(
Next: what is String#ord?
From: David A. Black on 17 Apr 2010 11:34 Hi -- On Sat, 17 Apr 2010, Derek Cannon wrote: >> The problem is that you're reusing temp, and clearing it. > > Doh! I knew it was something easy. The raw_course_list is pushing a > pointer to temp, not creating a copy of temp to push. Is this correct? Yes, essentially, though the more standard word in Ruby is "reference". David -- David A. Black, Senior Developer, Cyrus Innovation Inc. THE Ruby training with Black/Brown/McAnally COMPLEAT Coming to Chicago area, June 18-19, 2010! RUBYIST http://www.compleatrubyist.com |