This is the API documentation for pty: Ruby Standard Library Documentation.
CIO
CObject
MPTY
CPTY::ChildExited
::getpty (PTY)
::protect_signal (PTY)
::reset_signal (PTY)
::spawn (PTY)
#expect (IO)
#status (PTY::ChildExited)
#writer (Object)