From: Robert Klemme Date: 2009-08-27T21:24:44+09:00 Subject: Re: # sign does not work as expected form irb 2009/8/27 Salvador Sanjuan : > Aldric Giacomoni wrote: >> Salvador Sanjuan wrote: >>> I have just started Ruby. I have tried to do some exercises usin irb but >>> this is what happens if I write the following code msg = "Hello " >>> #{name} ": >> >> Please try this : >> msg = "Hello #{name} ". > > Sorry in my initial post I've made I mistake. > > I already wrote the code as you are proposing me. The problem is that > the # sign goes to the start of the line as soon as I type it, and opens > an new line. > > It must be something to do with the irb  and my keyboard configuration > but I've just started with ruby and have no idea. Maybe it's not IRB but your terminal. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/