summaryrefslogtreecommitdiff
path: root/ext/pty/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 02:31:55 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 02:31:55 +0000
commitbbf0ea6bfb1f2cad0a85d458fdaf9662674b2f9a (patch)
treedc23bf1c040267b13e13ed45edaa856ec04fb765 /ext/pty/lib
parent13d18f2775459c1e2a9cf0993c285390d6a0cd72 (diff)
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
Diffstat (limited to 'ext/pty/lib')
-rw-r--r--ext/pty/lib/expect.rb2
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