* expand tabs.
This commit is contained in:
parent
934e6b2aeb
commit
9987296b8b
2
eval.c
2
eval.c
@ -790,7 +790,7 @@ make_exception(int argc, const VALUE *argv, int isstr)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
rb_error_arity(argc, 0, 3);
|
||||
rb_error_arity(argc, 0, 3);
|
||||
}
|
||||
if (argc > 0) {
|
||||
if (!rb_obj_is_kind_of(mesg, rb_eException))
|
||||
|
2
file.c
2
file.c
@ -3228,7 +3228,7 @@ rb_file_s_umask(int argc, VALUE *argv)
|
||||
omask = umask(NUM2MODET(argv[0]));
|
||||
break;
|
||||
default:
|
||||
rb_error_arity(argc, 0, 1);
|
||||
rb_error_arity(argc, 0, 1);
|
||||
}
|
||||
return MODET2NUM(omask);
|
||||
}
|
||||
|
@ -3418,7 +3418,7 @@ int_chr(int argc, VALUE *argv, VALUE num)
|
||||
case 1:
|
||||
break;
|
||||
default:
|
||||
rb_error_arity(argc, 0, 1);
|
||||
rb_error_arity(argc, 0, 1);
|
||||
}
|
||||
enc = rb_to_encoding(argv[0]);
|
||||
if (!enc) enc = rb_ascii8bit_encoding();
|
||||
|
Loading…
x
Reference in New Issue
Block a user