2 ms·
Also a ruby newb, so I'm not sure, but I think it's an error in the book. I got that error on all versions of ruby I tried. Either var.to_s, or "blah #{var} bla
by msluyter 15y ago
Also a ruby newb, so I'm not sure, but I think it's an error in the book. I got that error on all versions of ruby I tried. Either var.to_s, or "blah #{var} blah" works for me.
This seems to explain it:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/217432 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/...