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