Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rexec/to_cmd.rb
Instance Method Summary collapse
-
#to_cmd ⇒ Object
Join a sequence of arguments together to form a executable command.
Instance Method Details
#to_cmd ⇒ Object
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 |