method
shelljoin
ruby latest stable - Class:
Array
shelljoin()public
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.