开发者

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] :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜