mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6a738f2265
commit
919f456de8
39 changed files with 127 additions and 124 deletions
|
@ -83,7 +83,7 @@ readline_s_set_completion_proc(self, proc)
|
|||
VALUE proc;
|
||||
{
|
||||
if (!rb_respond_to(proc, rb_intern("call")))
|
||||
rb_raise(rb_eArgError, "argument have to respond to `call'");
|
||||
rb_raise(rb_eArgError, "argument must respond to `call'");
|
||||
return rb_iv_set(mReadline, COMPLETION_PROC, proc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue