Method: Knifecmd#cmd_split
- Defined in:
- lib/kknife/knifecmd.rb
#cmd_split(split_command_array) ⇒ Object
If the Command lookup needs to split a command remove the command from what’s left and split it into the componenets
153 154 155 156 157 158 159 |
# File 'lib/kknife/knifecmd.rb', line 153 def cmd_split( split_command_array ) # first remove the previous entry with _ @cmd_left.shift # then prefix the new split entires @cmd_left.unshift *split_command_array end |