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:
parent
900e0c8c39
commit
10eda60e8b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ end
|
||||||
alias ln_dir_safe ln_safe
|
alias ln_dir_safe ln_safe
|
||||||
|
|
||||||
case RUBY_PLATFORM
|
case RUBY_PLATFORM
|
||||||
when /linux/, /darwin/, /solaris/
|
when /linux|darwin|solaris/
|
||||||
def ln_exe(src, dest)
|
def ln_exe(src, dest)
|
||||||
ln(src, dest, force: true)
|
ln(src, dest, force: true)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue