Created
July 1, 2012 06:42
-
-
Save distributedlife/3027212 to your computer and use it in GitHub Desktop.
rspec include files in lib path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dir["lib/*.rb"].each {|f| require File.join(File.dirname(__FILE__), "../", f)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment