Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/shellwords.rb

Instance Method Summary collapse

Instance Method Details

#shelljoinObject

call-seq:

array.shelljoin => string

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.



169
170
171
# File 'lib/ext/shellwords.rb', line 169

def shelljoin
  Shellwords.join(self)
end