Hacker News new | ask | show | jobs
by robmil 4152 days ago
…and Ruby has the PTY module which includes an `expect` method, which is in the same ballpark:

http://ruby-doc.org/stdlib-2.2.0/libdoc/pty/rdoc/PTY.html