Skip to content

Instantly share code, notes, and snippets.

@lifo
Created January 13, 2009 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifo/c4f441f48458e0f15ef7 to your computer and use it in GitHub Desktop.
Save lifo/c4f441f48458e0f15ef7 to your computer and use it in GitHub Desktop.
diff --git a/lib/rack/all.rb b/lib/rack/all.rb
new file mode 100644
index 0000000..1e3d466
--- /dev/null
+++ b/lib/rack/all.rb
@@ -0,0 +1 @@
+Dir.glob("lib/*/*.rb").sort.each { |file| require file }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment