ruby-changes:56468
From: git <ko1@a...>
Date: Sun, 14 Jul 2019 17:16:47 +0900 (JST)
Subject: [ruby-changes:56468] git: 9987296b8b (master): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=9987296b8b From 9987296b8b5b7c02fca92761e498764dfeb584cf Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Sun, 14 Jul 2019 17:16:35 +0900 Subject: * expand tabs. diff --git a/eval.c b/eval.c index 75648f1..138006e 100644 --- a/eval.c +++ b/eval.c @@ -790,7 +790,7 @@ make_exception(int argc, const VALUE *argv, int isstr) https://github.com/ruby/ruby/blob/trunk/eval.c#L790 } 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)) diff --git a/file.c b/file.c index 15970cb..f8df0f6 100644 --- a/file.c +++ b/file.c @@ -3228,7 +3228,7 @@ rb_file_s_umask(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/file.c#L3228 omask = umask(NUM2MODET(argv[0])); break; default: - rb_error_arity(argc, 0, 1); + rb_error_arity(argc, 0, 1); } return MODET2NUM(omask); } diff --git a/numeric.c b/numeric.c index 90eabc2..78c4c33 100644 --- a/numeric.c +++ b/numeric.c @@ -3418,7 +3418,7 @@ int_chr(int argc, VALUE *argv, VALUE num) https://github.com/ruby/ruby/blob/trunk/numeric.c#L3418 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(); diff --git a/string.c b/string.c index f76a417..64bb609 100644 --- a/string.c +++ b/string.c @@ -5186,7 +5186,7 @@ str_gsub(int argc, VALUE *argv, VALUE str, int bang) https://github.com/ruby/ruby/blob/trunk/string.c#L5186 tainted = OBJ_TAINTED_RAW(repl); break; default: - rb_error_arity(argc, 1, 2); + rb_error_arity(argc, 1, 2); } pat = get_pat_quoted(argv[0], 1); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/