Require all files inside a directory recursively
1) In your Gemfile
gem 'require_all'
or from the console
$ gem install require_all
2) In your code
require 'requre_all'
require_all 'lib'
3) More info
https://github.com/jarmo/require_all
Written by Alexander Tamoykin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#