Class: AocCli::DefaultController

Inherits:
ApplicationController show all
Defined in:
lib/aoc_cli/controllers/default_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#execute

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

#defaultObject Also known as: help



3
4
5
# File 'lib/aoc_cli/controllers/default_controller.rb', line 3

def default
  Components::DocsComponent.new.render
end