method
configuration
rails 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