123456789_123456789_123456789_123456789_123456789_

Class: Array

Relationships & Source Files
Inherits: Object
Defined in: lib/shellwords.rb

Instance Method Summary

  • #shelljoin ⇒ String

    Builds a command line string from an argument list array joining all elements escaped for the Bourne shell and separated by a space.

Instance Method Details

#shelljoinString

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.

[ GitHub ]

  
# File 'lib/shellwords.rb', line 220

def shelljoin
  Shellwords.join(self)
end