method
configuration
v8.0.0 -
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.error_message if checker.errors.any?
exit checker.errors.empty? unless options[:autocorrect]
checker.write!
end