Skip to content

Instantly share code, notes, and snippets.

@libryder
Created September 1, 2012 17:32
Show Gist options
  • Save libryder/3faa52fd622c38c80444 to your computer and use it in GitHub Desktop.
Save libryder/3faa52fd622c38c80444 to your computer and use it in GitHub Desktop.
if in_file_move_status == false || out_file_move_status == false
logger.fatal "Error moving wav files!"
return false
end
true
# OR
result = in_file_move_status && out_file_move_status
unless result
logger.fatal "Error moving wav files!"
end
result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment