Skip to content

Instantly share code, notes, and snippets.

@adamakhtar
Created August 15, 2012 04:39
Show Gist options
  • Save adamakhtar/3355926 to your computer and use it in GitHub Desktop.
Save adamakhtar/3355926 to your computer and use it in GitHub Desktop.
Quick way to pass params to File.join (avoid lots of "")
require File.join(File.dirname(__FILE__), *%w[.. lib jekyll])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment