Date: September 30, 2005 10:14:31 AM EDT
Subject: Re: [TxMt] Re: Input from gets in Ruby (Sune Foldager)
On 30/09/2005, at 16.09, William M Shobe wrote:
I have tried using gets and no input dialog pops up. Here is my code:
puts "this is a test"
puts gets
puts "end of test"
I use Run Ruby, and here is the output:
cmd N (new buffer)
Paste previous 3 lines
option-ctrl-shift R (switch to Ruby)
cmd R (Run Ruby)
And this is what I see:
<pastedGraphic.png>
Entering a string and pressing return outputs the strings and finishes the program.