Skip to content
Ruby's missing function to require all files and directories
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Runfile
requires.gemspec

README.md

Requires

Gem Version Build Status

Requires is ruby's missing require function.

It lets you...

# ...require multiple files
requires 'any_file', 'with/or/without/extension.rb'

# ...require directories
requires 'first/directory', 'second-dierectory'

# ...require any other library
requires 'yaml', 'lib/important', 'lib'

Everything is relative to where requires is called from.


Installation

$ gem install requires
You can’t perform that action at this time.