Question

My hash 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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top