Skip to content

Instantly share code, notes, and snippets.

@pokka
Created December 5, 2012 07:00
Show Gist options
  • Save pokka/4213206 to your computer and use it in GitHub Desktop.
Save pokka/4213206 to your computer and use it in GitHub Desktop.
requiring files with recursive
Dir[File.expand_path(File.join(File.dirname(__FILE__),dir,'**','*.rb'))].each {|f| require f}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment