diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-06-04 10:21:14 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-31 07:47:02 +0800 |
commit | 0817d95714bc73cef7a4eb6cdfc50a1c5ea4a6c1 (patch) | |
tree | acecf94c5190048e2ac943a2b6241574f15d5431 /lib/rubygems/test_case.rb | |
parent | 3cc814bdf629c457cc3899675c4cb1418594d47e (diff) | |
download | ruby-0817d95714bc73cef7a4eb6cdfc50a1c5ea4a6c1.tar.gz |
[rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`
https://github.com/rubygems/rubygems/commit/41b1cebc33
Diffstat (limited to 'lib/rubygems/test_case.rb')
-rw-r--r-- | lib/rubygems/test_case.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 708d1d4606..b6bb7ca93e 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -1209,6 +1209,7 @@ Also, a list: # Return the join path, with escaping backticks, dollars, and # double-quotes. Unlike `shellescape`, equal-sign is not escaped. private + def escape_path(*path) path = File.join(*path) if %r'\A[-+:/=@,.\w]+\z' =~ path |