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