class RuboCop::FeatureLoader

This class handles loading files (a.k.a. features in Ruby) specified by ‘–require` command line option and `require` directive in the config.

Normally, the given string is directly passed to ‘require`. If a string beginning with `.` is given, it is assumed to be relative to the given directory.

If a string containing ‘-` is given, it will be used as is, but if we cannot find the file to load, we will replace `-` with `/` and try it again as when Bundler loads gems.

@api private