ruby - Entering IRB line prematurely into Terminal.. How to Resolve? -


i picking ruby , wanted input command terminal put pushed return key accident before line not finished.

irb(main):007:0> mixed = {1 => ['a', 'b', 'c'],  irb(main):008:1*  

of course "stuck" in 008.1 of irb...

how go , edit code?

2 things can think of off bat: finish entering code on next line, or hit ctl-c , start over.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -