Ruby Hash statement working in irb and giving error in terminal
My hash开发者_如何学Python statement is working fine in try ruby.org where as its giving error in my terminal. Why so?
Here is the error: http://f.cl.ly/items/25330q3X33112u1v370P/err.tiff
Thanks!
Works for me. Have you tried to actually enter the command in your terminal and not just copy&paste it into your irb session?
[for claiming the answer] :)
精彩评论