Skip to content

Instantly share code, notes, and snippets.

@ognevsky
Created October 17, 2010 23:50
Show Gist options
  • Save ognevsky/631466 to your computer and use it in GitHub Desktop.
Save ognevsky/631466 to your computer and use it in GitHub Desktop.
files = File.join(File.dirname(__FILE__), "folder", "start_with_*.rb")
Dir.glob(files).each {|file| require file}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment