Skip to content

Instantly share code, notes, and snippets.

@AntelopeSalad
Created February 15, 2014 16:17
Show Gist options
  • Save AntelopeSalad/9021490 to your computer and use it in GitHub Desktop.
Save AntelopeSalad/9021490 to your computer and use it in GitHub Desktop.
if command.include? ' '
command_pieces = command.split(' ')
command = "#{command_pieces[0]} /tmp/foo/#{command_pieces[1]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment