class Standard::Plugin::DeterminesClassConstant
def require_plugin(require_path)
def require_plugin(require_path) return if require_path.nil? begin require require_path rescue LoadError # If require_path isn't on the load_path (and it may be hard to get it # on there since standardrb is a cli), let's give folks a break and # also try to load it via the current working directory. This is # tested in test/standardrb_test.rb #test_plugins_options require Pathname.new(Dir.pwd).join(require_path) end end