Ruby test a single file through terminal

Hello All,

I have created a ruby class. I have written a method here with puts & I
want to test this file through terminal.

How can I get the puts output in the terminal?

Thanks,
Avi

On Sun, Nov 16, 2014 at 10:58 AM, Avi [email protected] wrote:

I have created a ruby class. I have written a method here with puts & I want
to test this file through terminal.

How can I get the puts output in the terminal?

What does ruby --help tell you?


Hassan S. ------------------------ [email protected]

twitter: @hassan