From bbf0ea6bfb1f2cad0a85d458fdaf9662674b2f9a Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 16 Apr 2013 02:31:55 +0000 Subject: fixed wrong value by @taksatou [fix GH-287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pty/lib/expect.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pty/lib/expect.rb') 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 -- cgit v1.2.3