A particular line of code results in no output, and IRB exits out of the >>
prompt. I am not looking to exit IRB, but just to exit to a state preceding the line of code that caused the >>
prompt to go away.
>> stop_words = %w {the a and if}
>> stop_words.each{|x| stop_words << x.capitalize}
quit
quit
quit
stop_words
to experiment with it. Any elucidation/insight into what's going on here is appreciated.Your code infinitely loops, so you don’t get a new prompt as it is still processing your previous command.
You can hit CtrlC to abort the currently running command immediately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With