RubyGems Navigation menu

required 0.1.3

Required is a utility to require all files in a directory. Why would one want to require a whole bunch of files at once? I have used this gem on 2 projects to: - require dozens of jar files when working on a JRuby project - pull in all files before running code coverage (rcov), to find code that is otherwise dead/untouched Options for required include the ability to recursively descend through subdirectories, include/exclude files based on pattern matching, and to specify the order of requires based on filename. An array of all the files that were loaded is returned. Quick example: require 'required' required "some/path/to/dir" See the README for more examples, and description of options.

Versions:

  1. 0.1.3 - April 2, 2010 (6.5 KB)
  2. 0.1.2 - April 1, 2010 (6.5 KB)
  3. 0.1.1 - March 31, 2010 (5.5 KB)
  4. 0.1.0 - March 31, 2010 (5.5 KB)

Authors:

  • Arild Shirazi

Owners:

3f96171812cda297a261b8d3adcd3bce

Sha 256 checksum:

e9f336ae5fdcf9ed94b8a78c9a5610a855a73f53d0fa825db419b076e2d49a30

Total downloads 6,097

For this version 1,880

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: