diff options
Diffstat (limited to 'ext/pty/lib/expect.rb')
-rw-r--r-- | ext/pty/lib/expect.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/lib/expect.rb b/ext/pty/lib/expect.rb index 54cf709ee2..0b238af8be 100644 --- a/ext/pty/lib/expect.rb +++ b/ext/pty/lib/expect.rb @@ -4,7 +4,7 @@ class IO # Reads ios until pattern matches or the timeout is over. It returns # an array with the read buffer, followed by the matches. If a block is given, # the result is yielded to the block and returns nil. The optional timeout parameter defines, - # in seconds, the total time to wait for pattern. If it is over of eof is found, it + # in seconds, the total time to wait for pattern. If it is over of eof is found, it # returns/yields nil. However, the buffer in a timeout session is kept for the next expect call. # The default timeout is 9999999 seconds. def expect(pat,timeout=9999999) |