Skip to content

Instantly share code, notes, and snippets.

@searls
Created August 23, 2011 14:11
Show Gist options
  • Save searls/1165225 to your computer and use it in GitHub Desktop.
Save searls/1165225 to your computer and use it in GitHub Desktop.
def read_file(path)
File.read(File.expand_path(File.join(path.split('/')),__FILE__))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment