Class: Array

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

Overview

:stopdoc:

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 the Bourne shell and separated by a space.

See Shellwords.shelljoin for details.



236
237
238
# File 'lib/shellwords.rb', line 236

def shelljoin
  Shellwords.join(self)
end