ruby-changes:28266
From: hsbt <ko1@a...>
Date: Tue, 16 Apr 2013 11:32:04 +0900 (JST)
Subject: [ruby-changes:28266] hsbt:r40318 (trunk): fixed wrong value by @taksatou [fix GH-287]
hsbt 2013-04-16 11:31:55 +0900 (Tue, 16 Apr 2013) New Revision: 40318 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40318 Log: fixed wrong value by @taksatou [fix GH-287] Modified files: trunk/ext/pty/lib/expect.rb Index: ext/pty/lib/expect.rb =================================================================== --- ext/pty/lib/expect.rb (revision 40317) +++ ext/pty/lib/expect.rb (revision 40318) @@ -37,7 +37,7 @@ class IO https://github.com/ruby/ruby/blob/trunk/ext/pty/lib/expect.rb#L37 when Regexp e_pat = pat else - raise TypeError, "unsupported pattern class: #{pattern.class}" + raise TypeError, "unsupported pattern class: #{pat.class}" end @unusedBuf ||= '' while true -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/