From: Robert Klemme Date: 2010-11-17T19:05:53+09:00 Subject: Re: Multiline code on IRB? On Tue, Nov 16, 2010 at 11:45 PM, niklas | brueckenschlaeger wrote: > When you write a line that isn't finished (e.g. end a line with a > semicolon) ; > or write a "do" with no "end" do >  it won't evaluate it until you finish it > end In all other cases you can escape the line ending the same way as in a script: irb(main):001:0> 5 \ irb(main):002:0* + 3 => 8 irb(main):003:0> Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/