Class: AocCli::ApplicationController
- Inherits:
-
Kangaru::Controller
- Object
- Kangaru::Controller
- AocCli::ApplicationController
- Defined in:
- lib/aoc_cli/controllers/application_controller.rb
Direct Known Subclasses
DefaultController, EventController, Help::EventController, Help::PuzzleController, PuzzleController
Instance Method Summary collapse
Methods included from Helpers::ViewHelper
#heading, #main_header, #success_tag, #table_for, #wrap_text
Methods included from Concerns::LocationConcern
#current_event, #current_location, #current_path, #current_puzzle, #ensure_in_aoc_dir!, #ensure_in_event_dir!, #ensure_in_puzzle_dir!, #ensure_not_in_aoc_dir!
Methods included from Concerns::ErrorConcern
#render_error!, #render_model_errors!
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/aoc_cli/controllers/application_controller.rb', line 8 def execute return handle_help_param! if params[:help] super rescue Core::Processor::Error => e render_model_errors!(e.processor) end |