Here is a test
···
-----Original Message-----
From: Florian Frank [mailto:flori@nixe.ping.de]
Sent: Wednesday, October 30, 2002 2:11 PM
To: ruby-talk ML
Subject: Re: How do I get a ''?On 2002-10-30 19:47:52 +0900, J.Hawkesworth wrote:
irb(main):041:0> p “\”
“\”
nil
irb(main):042:0> p 92.chr
“\”
nilThis is the String \ but irb calls inspect before printing
it. That’s why the \ is escaped again. You can run irb
–noinspect if you don’t like that. If you want to have the
character \ you could use ?\ or “\”[0].–
Democracy is two wolves and a sheep trying to decide what’s
for dinner.