global
def require_all(path)
path - The String relative path from here to the directory.
Require all of the Ruby files in the given directory.
def require_all(path) glob = File.join(File.dirname(__FILE__), path, '*.rb') Dir[glob].each do |f| require f end end