5 ms·
Ruby also has support for this type of behaviour: http://www.ruby-doc.org/stdlib-2.0/libdoc/pty/rdoc/IO.html http://www.ruby-doc.org/stdlib-2.0/libdoc/pty/rdoc/
by 1qaz2wsx3edc 14y ago
Ruby also has support for this type of behaviour: http://www.ruby-doc.org/stdlib-2.0/libdoc/pty/rdoc/IO.html http://www.ruby-doc.org/stdlib-2.0/libdoc/pty/rdoc/IO.html
- cafard 14y agoAs does Perl. I used expect back in the day for a number of purposes.
- wuest 14y agoShameless plug: I built a small library to provide more Expect-like features in Ruby, since I didn't care for the interfaces exposed, for application development. Presently works on Linux and OS X for 1.9.3, and Linux for 2.0.0 (OS X untested, but assumed good) https://github.com/cwuest/expectr https://github.com/cwuest/expectr