method
configuration
v7.1.3.4 -
Show latest stable
- Class:
RailInspector::Cli
configuration(rails_path)public
No documentation available.
# File tools/rail_inspector/lib/rail_inspector/cli.rb, line 22
def configuration(rails_path)
require_relative "./configuring"
checker = Configuring.new(rails_path)
checker.check
puts checker.errors unless checker.errors.empty?
exit checker.errors.empty? unless options[:autocorrect]
checker.write!
end