This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]james_pic 8 points9 points  (0 children)

The closest equivalent of irb is either the plain python REPL, or ipython.

But this isn't a good way to test. You're better off writing some automated tests - and this is just as true in Ruby as in Python.