Default to true when no exception flag [Bug #15987]
This commit is contained in:
parent
f74e23af32
commit
8745fa2ff0
@ -2572,7 +2572,7 @@ opts_exception_p(VALUE opts)
|
|||||||
if (!kwds[0]) {
|
if (!kwds[0]) {
|
||||||
kwds[0] = rb_intern_const("exception");
|
kwds[0] = rb_intern_const("exception");
|
||||||
}
|
}
|
||||||
rb_get_kwargs(opts, kwds, 0, 1, &exception);
|
if (!rb_get_kwargs(opts, kwds, 0, 1, &exception)) return 1;
|
||||||
switch (exception) {
|
switch (exception) {
|
||||||
case Qtrue: case Qfalse:
|
case Qtrue: case Qfalse:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user