1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Merge to one regexp

This commit is contained in:
Kazuhiro NISHIYAMA 2021-12-14 12:19:44 +09:00
parent 900e0c8c39
commit 10eda60e8b
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -54,7 +54,7 @@ end
alias ln_dir_safe ln_safe
case RUBY_PLATFORM
when /linux/, /darwin/, /solaris/
when /linux|darwin|solaris/
def ln_exe(src, dest)
ln(src, dest, force: true)
end