Support for the Ruby 2.4 series has ended. See here for reference.
Object
Builds a command line string from an argument list array
joining all elements escaped for the Bourne shell and separated by a space.
See Shellwords.shelljoin
for details.
# File shellwords.rb, line 228 def shelljoin Shellwords.join(self) end