Skip to content

Instantly share code, notes, and snippets.

@hectoregm
Created October 15, 2011 22:28
Show Gist options
  • Save hectoregm/1290239 to your computer and use it in GitHub Desktop.
Save hectoregm/1290239 to your computer and use it in GitHub Desktop.
require
require File.expand_path(File.join(File.dirname(__FILE__), 'filename'))
# Or only for ruby 1.9
require_relative 'filename'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment