method

new

rails latest stable - Class: RailInspector::Requires

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

new(rails_path, autocorrect)
public

No documentation available.

# File tools/rail_inspector/lib/rail_inspector/requires.rb, line 11
    def initialize(rails_path, autocorrect)
      @loads = {}
      @rails_path = Pathname.new(rails_path)
      @exit = true
      @autocorrect = autocorrect
    end