Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/rexec/to_cmd.rb

Instance Method Summary collapse

Instance Method Details

#to_cmdObject

Join a sequence of arguments together to form a executable command.



4
5
6
# File 'lib/rexec/to_cmd.rb', line 4

def to_cmd
	collect{|v| v.to_cmd}.join(' ')
end