Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/shellwords.rb
Instance Method Summary collapse
-
#shelljoin ⇒ Object
call-seq: array.shelljoin => string.
Instance Method Details
#shelljoin ⇒ Object
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.
237 238 239 |
# File 'lib/shellwords.rb', line 237 def shelljoin Shellwords.join(self) end |