Class: TurboCrud::Generators::DoctorGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TurboCrud::Generators::DoctorGenerator
- Includes:
- InstallSupport
- Defined in:
- lib/generators/turbo_crud/doctor_generator.rb
Instance Method Summary collapse
Instance Method Details
#run_checks ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/generators/turbo_crud/doctor_generator.rb', line 26 def run_checks apply_fixes if [:fix] @issues = 0 # Keep output actionable and grouped so users can fix issues quickly. can be re-run after fixes to confirm. say_status :check, "TurboCrud doctor", :blue check_layout_frames check_controller_includes check_view_partials print_summary end |