Forum: Ruby characters '{', '[' in irb

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7cab3de4cd313089a2425250a404b0be?d=identicon&s=25 Emil Sandin (emilsverige)
on 2007-03-15 08:58
I have two computers (Windows XP on both) where Ruby is installed. On
one of them everything is working fine, but the other one isn't. If I
copy these lines:

{"one" => 1}
["one", "two", "three"]

and paste it into irb I get this instead:

"one" => 1
"one", "two", "three"

And then I get syntax error for both.

Why isn't all of the characters copied? It's also impossible to type
these characters.

97550977337c9f0a0e1a9553e55bfaa0?d=identicon&s=25 Jan Svitok (Guest)
on 2007-03-15 10:27
(Received via mailing list)
This topic is locked and can not be replied to.