From: "David A. Black" Date: 2008-10-31T20:20:56+09:00 Subject: [ruby-core:19660] Odd TypeError in inject (1.9.1 preview 1) Hi -- I think this should return 0. Anything I'm missing? >> RUBY_DESCRIPTION => "ruby 1.9.1 (2008-10-28 revision 19983) [i386-darwin9.5.0]" >> [].inject(0) TypeError: 0 is not a symbol from (irb):4:in `inject' from (irb):4 from /usr/local/bin/irb19:12:in `
' David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails January 12-15 Fort Lauderdale, FL Advancing with Rails January 19-22 Fort Lauderdale, FL * * Co-taught with Patrick Ewing! See http://www.rubypal.com for details and updates!