Skip to content

Instantly share code, notes, and snippets.

@ntd251
Created June 11, 2020 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntd251/a4e740c251959c9f1f8af34a6cce0fdd to your computer and use it in GitHub Desktop.
Save ntd251/a4e740c251959c9f1f8af34a6cce0fdd to your computer and use it in GitHub Desktop.
# Bad
filename = file_dir + '/' + file_name + '.' + file_ext
# Good
filename = "#{file_dir}/#{file_name}.#{file_ext}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment