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 06f4243993..c3f3925be7 100644 --- a/ext/pty/lib/expect.rb +++ b/ext/pty/lib/expect.rb @@ -37,7 +37,7 @@ class IO when Regexp e_pat = pat else - raise TypeError, "unsupported pattern class: #{pattern.class}" + raise TypeError, "unsupported pattern class: #{pat.class}" end @unusedBuf ||= '' while true |