diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-10 21:59:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-10 21:59:02 +0000 |
commit | 6aeedcbe2504a2112894b0aae46d4e1d262336f0 (patch) | |
tree | 508f90846df06ecc9a94ca7b541888d55372e934 /thread_sync.c | |
parent | 992e981bd16052cf8ec345835a7d7035cc9c673c (diff) | |
download | ruby-6aeedcbe2504a2112894b0aae46d4e1d262336f0.tar.gz |
file.c: prefer rb_check_arity
* file.c (rb_file_s_expand_path, rb_file_s_absolute_path): use
rb_check_arity instead of rb_scan_args for a simple optional
argument.
* file.c (rb_file_s_realpath, rb_file_s_realdirpath): ditto.
* file.c (rb_file_s_basename): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
0 files changed, 0 insertions, 0 deletions