joaquimadraz/sinatra-app-structure — pull request #1 by joaquimadraz (2014-05-05 14:28:52+00:00)
Title: Recursive folder require

In environment.rb when can require all files from a folder, but only top level files.
Know we can set a folder to require recursive with **rf** method.

@junhanamaki gave the ideia of having _init.rb file where we can require a file before all the others. Good for dependent files.

`````````
Configs.folders do |f|
f 'app/helpers'
f 'app/models'
rf 'app/routes'
f 'app/usecases'
f 'config/initializers'
end.require_all